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
TIN HỌC 10 - BÀI 7
Quiz
•
10th Grade
15 questions
# REVIEW 1 DATA TYPES
Quiz
•
10th Grade
15 questions
9-klass informatika 2-sherek monitoring test sorawları
Quiz
•
9th - 12th Grade
10 questions
MID Semester 2024
Quiz
•
10th Grade
13 questions
Arrays in Swift
Quiz
•
10th - 12th Grade
10 questions
Ứng xử trong môi trường số
Quiz
•
10th Grade
15 questions
Network Advantages and Disadvantages
Quiz
•
10th Grade - University
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th 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
