Để biết độ dài của xâu s ta dùng lệnh nào?

Hoa điểm 10_Tin 11

Quiz
•
Other
•
Professional Development
•
Hard
Thi Vo
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
str(s)
len(s)
lenght(s)
s.len()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây dùng để nối danh sách thành thành một xâu?
split()
remove()
join()
copy()
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kết quả của chương trình sau là gì?
a = "Lập trình Python"
print(a.count(“By”,0, len(a)))
1
-1
2
0
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kết quả của chương trình sau là gì?
a = "Lập trình Python"
print(a.find(“By”,0, len(a)))
-1
0
1
10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm:
lower()
len()
upper()
srt()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo xâu in thường từ toàn bộ xâu hiện tại ta dùng hàm:
lower()
len()
upper()
str()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thay thế kí tự ‘a’ trong xâu s bằng một xâu mới rỗng ta dùng lệnh:
s=s.replace('a','')
s=s.replace(‘a’)
s=replace(a,’’)
s=s.replace()
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Tìm hiểu Covid

Quiz
•
10th Grade - Professi...
10 questions
Home Credit - Câu hỏi ôn tập

Quiz
•
Professional Development
15 questions
Câu hỏi lý thuyết 💙

Quiz
•
Professional Development
7 questions
HOẠT ĐỘNG 2: LỰA CHỌN TỪ KHÓA PHÙ HỢP

Quiz
•
Professional Development
10 questions
DNSE - Trả lời đúng, trúng quà cool!

Quiz
•
Professional Development
10 questions
Làm quen với ppt

Quiz
•
Professional Development
8 questions
Healthy Boundaries

Quiz
•
Professional Development
10 questions
Python Basics

Quiz
•
Professional Development
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade