Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quizizz Python Quiz

Total questions: 5

Worksheet time: 3mins

Name
Class
Date
1.
What will the output be from the following code?
print("Hello world!")
a)
SyntaxError
b)
Hello world!
c)
"Hello world!"
d)
print(Hello world!)
2.
What will the output be from the following code?
print(3+4)
a)
3+4
b)
7
c)
SyntaxError
d)
print(3+4)
3.
Which function takes a users input
a)
print()
b)
int()
c)
input()
d)
def
4.
What will the output be from the following code?
print(9/3)
a)
3
b)
3.0
c)
9/3
d)
SyntaxError
5.

print('2+2=',2+2)

以上程式碼的輸出為何?

a)

('2+2=',2+2)

b)

'2+2=',2+2

c)

2+2=2+2

d)

2+2=4