Xâu rỗng là xâu có độ dài bằng:

str python

Quiz
•
Education
•
11th Grade
•
Hard
huu nhi
Used 2+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
0
1
2
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để biết độ dài của xâu s ta dùng hàm:
A. str(s)
B. len(s)
C. length(s)
C. s.len()
str(s)
lens(s)
lenght(S)
s.len()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s1=’ha noi’, xâu s2=’ha noi cua toi’. Khẳng định nào sau đây là đúng:
Xâu s2 lớn hơn xâu s1.
Xâu s1 bằng xâu s2.
Xâu s2 nhỏ hơn xâu s1.
Xâu s2 lớn hơn hoặc bằng xâu s1.
4.
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()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu st =’lop11’, xâu st có độ dài là:
3
4
5
0
6.
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()
Similar Resources on Quizizz
11 questions
Włókna

Quiz
•
11th - 12th Grade
7 questions
2. roč. - BEK 22 - Vodorovné konštrukcie

Quiz
•
10th Grade - University
10 questions
Kompan Week 1

Quiz
•
11th Grade
10 questions
KanyE WeSt

Quiz
•
KG - Professional Dev...
8 questions
Кіріктірілген функциялар

Quiz
•
1st Grade - University
10 questions
生病

Quiz
•
1st - 12th Grade
10 questions
Tagisan ng Talino

Quiz
•
7th - 11th Grade
11 questions
Game là dễ!

Quiz
•
KG - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Education
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University