<
RHD
/>
Home
Blog
Quiz
Resources
About
Contact
// guest
▾
Login
Request Account
[ light ]
// Basics
Basics Quiz
// question 1 of 10
What is the result of ""Hi"" + ""!""?
Hi!
Error
Hi !
// question 2 of 10
What is the result of ""3"" * 2?
6
Error
33
// question 3 of 10
What is printed? x = 5 ; print(x)?
Error
x
5
// question 4 of 10
What type is the result of 5 / 2?
str
int
float
// question 5 of 10
What is the result of ""python""[3:]?
pyt
hon
Error
// question 6 of 10
What does strip() do?
Adds spaces
Deletes text
Removes spaces from edges
// question 7 of 10
What happens with print(unknown_var)?
NameError
ValueError
Nothing
// question 8 of 10
What does and do?
Reverses value
True if both are True
True if one is True
// question 9 of 10
What is the result of 5 > 3?
True
5
False
// question 10 of 10
What happens in x = input()?
x becomes 0
User input is stored in x
x becomes None
Submit Answers →