Python03条件判断

Python03条件判断

11th Grade

67 Qs

quiz-placeholder

Similar activities

Grade 11- 12 ICT 4th Q

Grade 11- 12 ICT 4th Q

9th - 12th Grade

70 Qs

7th standard foxpro

7th standard foxpro

KG - University

70 Qs

APCSA Unit 7

APCSA Unit 7

9th - 12th Grade

65 Qs

Primitive Types in Java Programming -Unit 1- AP CSA

Primitive Types in Java Programming -Unit 1- AP CSA

9th - 12th Grade

64 Qs

ICDL K3

ICDL K3

3rd Grade - University

66 Qs

Review Materi PAS 1 TIK  Gr6

Review Materi PAS 1 TIK Gr6

6th Grade - University

65 Qs

E-tech Finals Reviewer

E-tech Finals Reviewer

11th Grade

68 Qs

Python Mix Quiz

Python Mix Quiz

11th Grade

64 Qs

Python03条件判断

Python03条件判断

Assessment

Quiz

Computers

11th Grade

Practice Problem

Easy

Created by

曾国樑 Chan Kok Liang

Used 21+ times

FREE Resource

AI

Enhance your content in a minute

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

67 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

在python中,要在输出区打印内容,需要使用什么命令?

print
input
range
for

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

字符串是由一对引号包裹的内容。下列哪个不是字符串?

'abc'
'123'
abc
'我爱你'

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

下面哪一条语句能打印出数字10?

print("10")
print(10)
print('十')
print("ten")

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

下列选项中,哪一个是正确的变量命名?

2cat
cat_1
my-cat
my cat

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

下面哪一条语句可以打印出计算结果的数字20?

print("10+10")
print(10+10)
print('20')
print("20")

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

for i in range(3): i 的取值顺序是?

1 2 3
0 1 2
2 3 4
1 3 5

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

执行 for i in range(2,6): print(i),输出结果是?

2 3 4 5
1 2 3 4
2 4 6 8
3 4 5 6

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?