Trong Python, câu lệnh nào dùng để tính độ dài của xâu s?

TRẮC NGHIỆM XÂU KÍ TỰ

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Nhung BP
Used 3+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
len(s).
length(s).
s.len().
s. length().
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu “1234%^^%TFRESDRG” có độ dài bằng bao nhiêu?
15
16
17
18
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức sau cho kết quả đúng hay sai?
S1 = “12345”
S2 = “3e4r45”
S3 = “45”
S3 in S1
S3 in S2
True, False.
True, True.
False, False.
False, True.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau cho kết quả là bao nhiêu?
name = "Codelearn"
print(name[0])
“C”.
“o”.
“c”.
Câu lệnh bị lỗi
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình trên giải quyết bài toán gì?
s = ""
for i in range(10):
s = s + str(i)
print(s)
In một chuỗi kí tự từ 0 tới 10.
In một chuỗi kí tự từ 0 tới 9.
In một chuỗi kí tự từ 1 tới 10.
In một chuỗi kí tự từ 1 tới 9.
Similar Resources on Wayground
10 questions
Kiểm tra kiến thức về dữ liệu

Quiz
•
10th Grade
5 questions
Bài tập củng cố: Bài 24. Xâu kí tự

Quiz
•
10th Grade - University
10 questions
10A3_TX1_HK2

Quiz
•
10th Grade
8 questions
Bài 26. Hàm trong Python

Quiz
•
10th Grade
5 questions
TÌM XÂU BÍ ẨN

Quiz
•
10th Grade
10 questions
Kiểu Dữ Liệu Xâu Kí Tự

Quiz
•
10th Grade
10 questions
Bài 2 - Tin học 10

Quiz
•
10th Grade
10 questions
Ôn tập kiểm tra

Quiz
•
10th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade