Week 6 上周知识点回顾

Week 6 上周知识点回顾

University

10 Qs

quiz-placeholder

Similar activities

QUIZ-1 KELAS XI

QUIZ-1 KELAS XI

University

10 Qs

Pemanfaatan Google Drive untuk Siswa

Pemanfaatan Google Drive untuk Siswa

11th Grade - University

15 Qs

PT101: Quiz No. 1

PT101: Quiz No. 1

University

10 Qs

PDM LS01 - Quiz 5 - Files and Menu Driven Programming

PDM LS01 - Quiz 5 - Files and Menu Driven Programming

University

15 Qs

Module 2

Module 2

University

10 Qs

Quiz Layanan Dasar VoIP

Quiz Layanan Dasar VoIP

12th Grade - University

14 Qs

Recap Handout 3 & 4

Recap Handout 3 & 4

6th Grade - University

15 Qs

Table,Image formatting

Table,Image formatting

5th Grade - University

15 Qs

Week 6 上周知识点回顾

Week 6 上周知识点回顾

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Nila Zhang

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?