
Câu hỏi về hàm trong Python
Authored by phuong luong
English
7th Grade
Used 3+ 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
Hàm nào dưới đây được sử dụng để lấy độ dài của một danh sách trong Python?
size()
count()
length()
len()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để chuyển một chuỗi thành chữ thường?
upper()
tolower()
lower()
downcase()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm max([2, 5, 8, 1]) trả về giá trị nào?
1
2
8
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm round(4.567, 2) sẽ trả về giá trị nào?
4.56
4.57
4.6
5.0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để xóa khoảng trắng đầu và cuối của chuỗi?
strip()
trim()
remove_space()
rstrip()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm abs(-10) trả về kết quả nào?
-10
10
0
1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm sorted([3, 1, 4, 1, 5]) trả về kết quả nào?
[3, 1, 4, 1, 5]
[1, 1, 3, 4, 5]
[5, 4, 3, 1, 1]
None
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?