python2-lesson04

python2-lesson04

2nd - 12th Grade

15 Qs

quiz-placeholder

Similar activities

知識產權

知識產權

9th Grade

20 Qs

Password Quiz

Password Quiz

7th Grade

13 Qs

P2_倉頡_初階練習H-N

P2_倉頡_初階練習H-N

2nd Grade

10 Qs

小六國銜第十五回練習卷(15題)

小六國銜第十五回練習卷(15題)

6th Grade

15 Qs

RAM&HDD/SSD

RAM&HDD/SSD

10th - 12th Grade

13 Qs

倉頡輔助字型 (筆劃類)

倉頡輔助字型 (筆劃類)

1st - 5th Grade

20 Qs

Computer Network

Computer Network

10th Grade

10 Qs

python2-lesson04

python2-lesson04

Assessment

Quiz

Computers

2nd - 12th Grade

Practice Problem

Medium

Created by

hang zheng

Used 82+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

写在if中的代码需要缩进多少个空格?

2

4

6

8

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

写在if代码块中,新的if判断语句需要缩进几个空格?

0

2

4

8

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

写在if代码块中,新的if判断语句中的执行代码需要缩进多少个空格

0

2

4

8

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

python代码中,缩进4个空格的意义是什么?

表示被上方未缩进的的代码包含

为了美观

没有什么意思,可以不缩进

把上方未缩进的代码包起来

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

只能在if语句中进行嵌套,不能在else语句中进行嵌套

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

一个if-else中只能进行1次if-else的嵌套

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

运行上图中代码,程序最后的结果是?

什么都不输出

输出yes

程序报错

输出NO

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?