
str python
Quiz
•
Education
•
11th Grade
•
Practice Problem
•
Hard
huu nhi
Used 2+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng:
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()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Dokumen Perdagangan
Quiz
•
11th Grade
10 questions
Cybersecurity Review
Quiz
•
9th - 12th Grade
10 questions
Winter Holidays Around the World
Quiz
•
5th Grade - University
7 questions
Multiple Topics
Quiz
•
KG - Professional Dev...
10 questions
REVIEW ON REFERENCING
Quiz
•
8th - 12th Grade
10 questions
Conhecimentos sobre Ciência e Didática - ODP
Quiz
•
1st - 12th Grade
10 questions
Pelatihan Penyambungan DC
Quiz
•
KG - Professional Dev...
10 questions
Naruto Knowledge (Shippuden) Part 1
Quiz
•
3rd Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
