
Week 6 上周知识点回顾
Quiz
•
Information Technology (IT)
•
University
•
Medium
Nila Zhang
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如何在字符串中表示一个反斜杠?
\
/
\\
\/
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪个是格式化字符串的正确用法?
'他叫{name},今年{age}岁'.format(name='小明', age=18)
'他叫{name},今年{age}岁'.format(name='小明')
'他叫{name},今年{age}岁'.format(age=18)
'他叫{name},今年{age}岁'.format()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪个方法可以删除字符串两侧的空白字符?
join()
split()
replace()
strip()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在Python中,字符串对象是可变的吗?
否
不确定
部分可变
是
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
使用哪个方法可以将列表中的元素连接成字符串?
split()
strip()
replace()
join()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在Python中,如何打开一个文件进行写入?
open('file.txt', 'r+')
open('file.txt', 'a')
open('file.txt', 'r')
open('file.txt', 'w')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在Python中,如何将字符串分割成列表?
split()
combine()
join()
partition()
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
Recap W02 - W04 Information and Communication Technology
Quiz
•
University
12 questions
CLC Unit 2 Lesson 8,9 and 10 Quiz
Quiz
•
University
12 questions
2.2 Direction of Data Transmission
Quiz
•
University
11 questions
8 клас 11 балів
Quiz
•
8th Grade - University
11 questions
word
Quiz
•
10th Grade - University
13 questions
Asesmen Awal
Quiz
•
10th Grade - University
10 questions
Mastering Microsoft OneDrive Basics
Quiz
•
12th Grade - University
10 questions
AI and Machine Learning Quiz
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
18 questions
Plotting Points on the Coordinate Plane
Quiz
•
KG - University
5 questions
Declaration of Independence
Interactive video
•
4th Grade - University
