Search Header Logo

PYTHON變數規則

Authored by 闕河正 闕河正

Computers, Mathematics, World Languages

1st Grade - University

Used 20+ times

PYTHON變數規則
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = 5

b = 6

print(a+b)

5

6

11

56

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = '5'

b = 6

print(a+b)

TypeError

5

11

56

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print(11+True)

12

11

TypeError

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

and = 1

or = 2

print(and+or)

3

SyntaxError

2

1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

math,chinese = 100,90

print(math+chinese)

90

190

90

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a,b=c,d = 50,60

print(a+d+b)

160

150

180

170

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

闕老師 = '好帥'

print(闕老師)

TypeError

闕老師好帥

SyntaxError

好帥

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?