Kết quả đoạn mã sau là gì?
Xâu 3

Quiz
•
English
•
5th Grade
•
Medium
Edu TSmart
Used 28+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Có y
Không có y
Lỗi
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã nào đếm số chữ thường trong chuỗi?
if c.islower(): dem += 1
if c.isupper(): dem += 1
if c.isdigit(): dem += 1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả đoạn mã sau là?
A. abc
B. 123
C. abc123
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào dùng để kiểm tra chuỗi toàn chữ hoa?
A. isupper()
B. islower()
C. isalpha()
D. isdigit()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả đoạn mã sau là?
A. 5
B. 3
C. 6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau thực hiện điều gì?
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào để duyệt qua từng ký tự trong chuỗi?
for i in range(len(s)):
for c in s:
Cả hai đều đúng
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
Ôn tập 3

Quiz
•
5th Grade - University
20 questions
Kiểm Tra Cuối Kỳ II - Tiếng Anh 10

Quiz
•
4th Grade - University
24 questions
Tin 10 bài 16

Quiz
•
10th Grade
20 questions
Ôn tập tin 6

Quiz
•
6th Grade
21 questions
TOEIC VOCABULARY Unit 2: Business documents

Quiz
•
University
25 questions
Cụm từ cố định (Collocation) - Break

Quiz
•
12th Grade
20 questions
Game luyện tập tuần 4

Quiz
•
KG - Professional Dev...
25 questions
Bài tập trắc nghiệm Python cơ bản xâu

Quiz
•
5th Grade - University
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