Python03条件判断

Python03条件判断

11th Grade

67 Qs

quiz-placeholder

Similar activities

Code.org CSD

Code.org CSD

9th - 12th Grade

65 Qs

MOS - On_HK1

MOS - On_HK1

9th - 12th Grade

72 Qs

June 2020

June 2020

9th - 12th Grade

62 Qs

1.4- Wi-Fi and Wired networks- Revision

1.4- Wi-Fi and Wired networks- Revision

9th - 11th Grade

66 Qs

PBS SAINS KOMPUTER T4 - 1.6 Struktur Data dan Modular

PBS SAINS KOMPUTER T4 - 1.6 Struktur Data dan Modular

10th - 12th Grade

70 Qs

Digital Technology UNIT 1 GCSE Revision (private) UNSURE

Digital Technology UNIT 1 GCSE Revision (private) UNSURE

9th - 12th Grade

66 Qs

IT112

IT112

7th Grade - University

64 Qs

Python Functions and Methods

Python Functions and Methods

11th Grade

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