Search Header Logo

python2期中测试(到函数)

Authored by 昀浩 管

Computers

University

Used 4+ times

python2期中测试(到函数)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

a=int(input("请输入")) 其中a的类型是

整型

字符串

浮点

布尔

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

a=input("请输入") 其中a的类型是

整型

字符串

浮点

布尔

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

input()函数用于

输入(收集键盘输入的内容)

输出(把内容输出到终端)

强制转换成int

强制转换成str

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

print()函数用于

输入(收集键盘输入的内容)

输出(把内容输出到终端)

强制转换成int

强制转换成str

5.

MULTIPLE SELECT QUESTION

5 mins • 1 pt

变量由什么组成


字母

数字

下划线

标点

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

以下哪个变量不合法

123a

a123

_12

_b

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

写在for i in range(10)里的代码会执行几次

10

9

11

1

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers