Cho xâu s = 'Hello everybody'
print(x[2:5])
ôn tập về chuỗi
Quiz
•
Computers
•
1st - 5th Grade
•
Hard
duong tran
Used 1+ times
FREE Resource
14 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Cho xâu s = 'Hello everybody'
print(x[2:5])
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Câu lệnh sau cho kết quả là gì?
print("P" not in "APCSP")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
cho xâu a bất kỳ. Ký tự cuối cùng trong xâu a có chỉ số là
100
chưa biết
len(a)-1
n
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau:
print("Hello world!" * 2)
TypeError
Hello world world!
Hello world!Hello world!
Hello world! * 2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
chỉ số của các ký tự trong xâu được đánh bắt đầu từ
0
1
2
Không có chỉ số
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
word = "amazing"
Kết quả của chương trình sau:
print(word[1:5])
mazing
mazin
mazi
azin
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x1 = 'tin'
x2 = 'học'
print(x2+x1)
tin học
tinhọc
học tin
họctin
15 questions
PYTHON 2 REVIEW
Quiz
•
KG - 1st Grade
10 questions
Python basic B4
Quiz
•
1st Grade
10 questions
Bai 3. Lenh viet chu tinh toan
Quiz
•
4th Grade
11 questions
Tin 5 - Bài 14: Sử dụng biến trong chương trình
Quiz
•
5th Grade
15 questions
Checkpoint1 SB05
Quiz
•
1st Grade
9 questions
Bài 14: Thông tin và chương trình giải trí trên Internet
Quiz
•
3rd Grade
10 questions
SỬA BÀI KIỂM TRA HỌC KỲ - PHẦN 3
Quiz
•
1st Grade
10 questions
Python List Quiz
Quiz
•
1st Grade
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