2023.09——Python基础语法

2023.09——Python基础语法

University

20 Qs

quiz-placeholder

Similar activities

Python Functions and File Operations Quiz

Python Functions and File Operations Quiz

University

20 Qs

QUEUE

QUEUE

University

17 Qs

CSE-8_DAUP_QUIZ-1

CSE-8_DAUP_QUIZ-1

University

20 Qs

Fundamentos de Python

Fundamentos de Python

University

16 Qs

Ch7-電腦網路

Ch7-電腦網路

University

17 Qs

通信技术知识点测验

通信技术知识点测验

KG - Professional Development

20 Qs

生成式人工智能-實作1-文本生成

生成式人工智能-實作1-文本生成

8th Grade - University

17 Qs

Coleções - Python

Coleções - Python

University - Professional Development

17 Qs

2023.09——Python基础语法

2023.09——Python基础语法

Assessment

Quiz

Computers

University

Medium

Created by

文强 李

Used 4+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?