Team 1
0
Team 2
0
Teams
Name
Score
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Loading
15
×
What is wrong with this code? x = input("Enter: ") / print(x + 5)
x is a string
Oops!
Check
Okay!
Check
10
×
What does float() do?
Converts to a decimal number
Oops!
Check
Okay!
Check
×
banana
Go to last place!
Oops!
×
shark
Other team loses 25 points!
Okay!
×
fairy
Take points!
5
10
15
20
25
×
lifesaver
Give 25 points!
Oops!
10
×
How do we convert input to a whole number?
int()
Oops!
Check
Okay!
Check
10
×
What data type does input() always return?
String
Oops!
Check
Okay!
Check
15
×
Write one line that asks for age and prints age + 1
age = int(input("Enter age: ")) / print(age + 1)
Oops!
Check
Okay!
Check
15
×
What will be the output if the user enters 10? age = int(input("Enter your age") / print(age + 5)
15
Oops!
Check
Okay!
Check
5
×
Which function shows output?
print()
Oops!
Check
Okay!
Check
15
×
write a line correctly that takes a number as input?
num = int(input("Enter a number: "))
Oops!
Check
Okay!
Check
10
×
True or False: input() returns an integer .. and why?
False .. it returns string
Oops!
Check
Okay!
Check
×
trap
No points!
Oops!
×
star
Double points!
Okay!
×
gift
Win 15 points!
Okay!
×
thief
Give points!
5
10
15
20
25
10
×
Why do we use type conversion?
To calculate with numbers
Oops!
Check
Okay!
Check
×
thief
Give points!
5
10
15
20
25
×
gift
Win 25 points!
Okay!
×
rocket
Go to first place!
Okay!
×
thief
Give points!
5
10
15
20
25
15
×
What will be the output if x="3" ? / print( x * 2)
33
Oops!
Check
Okay!
Check
×
Restart
Review
Join for Free
;
Your experience on this site will be improved by allowing cookies.
Allow cookies