Python03条件判断

Python03条件判断

11th Grade

67 Qs

quiz-placeholder

Similar activities

Adobe Illustrator CC question bank

Adobe Illustrator CC question bank

9th - 12th Grade

64 Qs

Soal TIK

Soal TIK

1st - 12th Grade

65 Qs

UTS GANJIL Informatika KELAS X

UTS GANJIL Informatika KELAS X

10th Grade - University

70 Qs

LAT INF PAS

LAT INF PAS

11th Grade

70 Qs

Python 01

Python 01

6th - 12th Grade

72 Qs

CAT Final revision

CAT Final revision

11th Grade

71 Qs

Paper_2

Paper_2

11th Grade

70 Qs

Computer Science Principles Unit 7 Parameters Returns Libraries

Computer Science Principles Unit 7 Parameters Returns Libraries

9th - 12th Grade

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