
KIỂU XÂU - PYTHON
Authored by Minh Đỗ
Computers
10th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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'"")
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
ÔN TẬP HKII - ĐỀ 1
Quiz
•
4th Grade - University
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
15 questions
TIN 10-1F-LÀM QUEN VỚI NGÔN NGỮ LẬP TRÌNH BẬC CAO
Quiz
•
10th Grade
9 questions
MẠNG MÁY TÍNH
Quiz
•
10th Grade
10 questions
Списки Python + Pygame
Quiz
•
KG - University
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
11 questions
Programming basics
Quiz
•
10th - 11th Grade
10 questions
Bài 21-Câu lệnh lặp while
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade