Lệnh nào sau đây dùng để nối danh sách các xâu thành một xâu:

KTTX2-HK2-K10-20242025

Quiz
•
Other
•
10th Grade
•
Medium
Giang Hoàng
Used 15+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
split()
join()
len()
append()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để nối các phần tử trong danh sách A thành 1 xâu thông qua kí tự '+' ta viết:
'+'.join(A)
A.join('+')
'+'.split(A)
A.split('+')
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để lấy độ dài của danh sách ta sử dụng lệnh:
del
insert
len
append
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây dùng để thêm phần tử vào list trong python?
abs()
link()
append()
add()
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho arr = ['xuân', 'hạ', 1.4, 'đông', '3', 4.5, 7].
Đâu là giá trị của arr[2]?
1.4
'đông'
'hạ'
'3'
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Để truy cập phần tử có chỉ số 7 trong dãy A ta viết:
A(7)
A[5]
B[7]
A[7]
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kết quả in ra màn hình của chương trình sau là gì?
s = 'abcdefg'
print(s[3])
'c'
'b'
'a'
'd'
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Bangtan

Quiz
•
10th Grade - Professi...
19 questions
Conan

Quiz
•
3rd Grade - Professio...
19 questions
Vic-K10-Ôn tập-CHK2-1

Quiz
•
10th Grade
20 questions
kiểm tra 15p K10 (1)

Quiz
•
9th - 12th Grade
20 questions
Kiểm tra thường xuyên lần 2-K10-HK2

Quiz
•
10th Grade
15 questions
Dinh dưỡng cây trồng - Ôn tập chương 1

Quiz
•
10th Grade - University
22 questions
Lỗi dùng từ

Quiz
•
10th Grade
15 questions
Ôn tập tí nào

Quiz
•
5th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Other
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade