Kiểu xâu trong Python được viết như thế nào?
python-BTxâu

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Quyên Thị
Used 31+ times
FREE Resource
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
10 sec • 1 pt
2.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
Khi thực hiện câu lệnh gán s = ‘Tôi đi học’ thì biến s có độ dài bao nhiêu?
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Trong Python, cho đoạn chương trình sau:
a="Tháng 3"
k=len(a)
print(k)
cho kết quả là?
6
10
14
7
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Trong Python, khi muốn tách các từ trong xâu thì ta sử dụng hàm nào sau đây?
len()
find()
join()
split()
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
a="Tháng"
b=" Thanh Niên"
m=a+b
print(m)
Giá trị biến m là?
''Tháng Thanh Niên''
Tháng Thanh Niên
3
12
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Lệnh sau trả lại giá trị gì?
>>> s = "0123456789"
>>> s.find("abc")
0
-1
1
Báo lỗi
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Làm quen với ngôn ngữ lập trình bậc cao

Quiz
•
10th Grade
10 questions
ÔN TẬP BÀI 16

Quiz
•
10th Grade
5 questions
Tìm hiểu truyền thống nhà trường

Quiz
•
2nd Grade - University
8 questions
U5.1 K10

Quiz
•
10th Grade
10 questions
Trắc nghiệm Python

Quiz
•
9th - 12th Grade
10 questions
Kiểm tra kiến thức về xâu ký tự

Quiz
•
11th Grade
10 questions
TN Bài 12 xâu kí tự _ Cô Tuyết

Quiz
•
10th Grade
10 questions
Trắc nghiệm: Bài 16-Ngôn ngữ lập trình bậc cao và Python

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade