Python _ BT về Xâu
Quiz
•
Computers
•
5th Grade
•
Practice Problem
•
Hard
Duy Tran
Used 5+ times
FREE Resource
Enhance your content in a minute
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
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
Already have an account?
Similar Resources on Wayground
15 questions
BÀI 5. INTERNET
Quiz
•
1st - 12th Grade
15 questions
SOẠN THẢO VĂN BẢN LỚP 3
Quiz
•
1st - 5th Grade
20 questions
3 - 3: Máy tính - Những người bạn mới
Quiz
•
1st - 5th Grade
21 questions
Ôn tập Tin học lớp 4 HK2
Quiz
•
1st - 5th Grade
17 questions
Ôn bài 7
Quiz
•
5th Grade
15 questions
Bài tập kiểm tra chủ đề 3,4-Tin học 4
Quiz
•
1st - 5th Grade
20 questions
Lớp 4: Kiến thức đã học
Quiz
•
3rd - 5th Grade
16 questions
Ôn tập Tin học Lớp 3_CKI
Quiz
•
3rd Grade - University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
