2023.09——Python基础语法

2023.09——Python基础语法

University

20 Qs

quiz-placeholder

Similar activities

ERP 系統與供應鏈管理測驗

ERP 系統與供應鏈管理測驗

University

23 Qs

loops and iterables in python

loops and iterables in python

University

20 Qs

三国演义

三国演义

KG - Professional Development

15 Qs

网络安全应急响应

网络安全应急响应

University

25 Qs

多媒體概論(2)

多媒體概論(2)

University - Professional Development

20 Qs

Python-Lists_Dictionaries

Python-Lists_Dictionaries

University

20 Qs

COMP177 Module 3 Quiz

COMP177 Module 3 Quiz

University

20 Qs

Midterm_20250418

Midterm_20250418

University

20 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?