
Python _ BT về Xâu
Authored by Duy Tran
Computers
5th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo một chuỗi rỗng trong Python, dùng cú pháp nào?
str = ''
str = ""
str = str()
Tất cả đáp án trên
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
P
y
t
h
o
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3: Kết quả của đoạn mã sau là gì?
h
o
e
l
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào dùng để chuyển chuỗi thành chữ in hoa?
title()
capitalize()
upper()
lower()
Answer explanation
s = "python"
print(s.upper())
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau in ra gì?
llo
Hel
ell
Lỗi
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào dùng để loại bỏ khoảng trắng ở đầu và cuối chuỗi?
rstrip()
lstrip()
trim()
strip()
Answer explanation
s = " Hello "
print(s.strip()) # Hello
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau in ra gì?
5
6
7
8
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
20 questions
Bài 10 Đồ chơi dân gian
Quiz
•
1st - 5th Grade
18 questions
Ôn tập Tin học 4
Quiz
•
1st - 5th Grade
18 questions
Đề cương CKII - Lớp 4 - TH Minh Quang A
Quiz
•
4th Grade - University
15 questions
Ôn tập học HK 1 lớp 5
Quiz
•
5th Grade
20 questions
Máy tính - Những người bạn mới - 3A
Quiz
•
1st - 5th Grade
15 questions
kiểm tra lớp 5
Quiz
•
1st - 12th Grade
23 questions
Bài 7 Dụng cụ và vật liệu làm thủ công
Quiz
•
1st - 5th Grade
17 questions
ôn tập cuối kì khối 3 môn Tin học
Quiz
•
1st - 5th 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