Search Header Logo

2023.09——Python基础语法

Authored by 文强 李

Computers

University

Used 4+ times

2023.09——Python基础语法
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

以下哪个是符合规范的变量名?

#number

A_2

3H

A_@

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Python中str类型指的是

字符串

整数

浮点数

布尔值

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

a = 3.1415926

type(a)的输出是?

<class int>

<class bool>

<class int>

<class float>

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

python中输出语句是

output()

input()

print()

cout()

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

表达式 3<2 的值是

true

True

False

false

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

以下哪个是python中的注释语句

"这是注释"

#这是注释

<这是注释>

{这是注释}

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

python中可以随意缩进,或在语句前添加空格

YES

NO

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?