
str python
Quiz
•
Education
•
11th Grade
•
Practice Problem
•
Hard
huu nhi
Used 2+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng:
0
1
2
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để biết độ dài của xâu s ta dùng hàm:
A. str(s)
B. len(s)
C. length(s)
C. s.len()
str(s)
lens(s)
lenght(S)
s.len()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s1=’ha noi’, xâu s2=’ha noi cua toi’. Khẳng định nào sau đây là đúng:
Xâu s2 lớn hơn xâu s1.
Xâu s1 bằng xâu s2.
Xâu s2 nhỏ hơn xâu s1.
Xâu s2 lớn hơn hoặc bằng xâu s1.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm:
lower()
len()
upper()
srt()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu st =’lop11’, xâu st có độ dài là:
3
4
5
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thay thế kí tự ‘a’ trong xâu s bằng một xâu mới rỗng ta dùng lệnh:
s=s.replace(‘a’,’’)
s=s.replace(‘a’)
s=replace(a,’’)
s=s.replace()
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
10 questions
writing essays
Quiz
•
11th Grade
10 questions
4e - S1S2 Représentation du monde rural
Quiz
•
7th Grade - University
10 questions
D.K.A.B 11. Sınıf 1. Ünite
Quiz
•
11th Grade - University
10 questions
What is water
Quiz
•
KG - Professional Dev...
10 questions
Filipino sa Piling Larang
Quiz
•
11th Grade
10 questions
Grand Nursing Theories Based on Human Needs
Quiz
•
1st Grade - University
11 questions
Learn to speak Spanish
Quiz
•
1st Grade - Professio...
10 questions
RUNG CHUÔNG VÀNG - DỰ ÁN VIẾT LÊN ƯỚC MƠ
Quiz
•
9th - 12th 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
Discover more resources for Education
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
