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
15 questions
Kiểm tra thường xuyên 3 HK1

Quiz
•
10th Grade
15 questions
NNLT Python - Biến và câu lệnh gán

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

Quiz
•
10th Grade
15 questions
Internet

Quiz
•
10th Grade
10 questions
Xâu kí tự

Quiz
•
10th Grade
15 questions
Bài 16. Ngôn ngữ lập trình bậc cao và python

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
8 questions
TRÒ CHƠI HỎI NHANH ĐÁP GỌN

Quiz
•
10th Grade
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 Computers
17 questions
Chapter 12 - Doing the Right Thing

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

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

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