KIỂU XÂU - PYTHON
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Minh Đỗ
Used 13+ times
FREE Resource
Enhance your content in a minute
11 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.
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
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
s = 'thời khóa biểu'
print(y.count('i',4)
1
2
3
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
s = 'thời khóa biểu'
print(s.find('i'))
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
s1 = ' có phải em mùa thu Hà Nội'
s2 = 'là'
print(s1.replace('em','là'))
có phải em là mùa thu Hà Nội
báo lỗi
có phải là mùa thu Hà Nội
có phải là em mùa thu Hà Nội
6.
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ố
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python chấp nhận dấu nháy đơn ('), dấu nháy kép (") để biểu thị chuỗi. Cú pháp Python nào sau đây KHÔNG được chấp nhận?
print('Hello World')
print("Hello World")
print('Hello World")
print(""'Hello World'"")
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
PF Unit 10
Quiz
•
9th Grade - University
14 questions
ÔN TINHK1, K4
Quiz
•
10th Grade
10 questions
Bài tập Tin học lớp 4
Quiz
•
1st - 12th Grade
10 questions
Khám phá máy tính lớp 5
Quiz
•
10th Grade - Professi...
10 questions
câu hỏi anime
Quiz
•
1st Grade - University
10 questions
Ôn tập - Tin học 12
Quiz
•
KG - 12th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 LỚP 4
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
