<
RHD
/>
Home
Blog
Quiz
Resources
About
Contact
// guest
▾
Login
Request Account
[ light ]
// Basics
Basics Quiz
// question 1 of 10
What is the result of float(5)?
Error
5.0
5
// question 2 of 10
What is stored in name? name = ""Ana""?
Nothing
A variable type
The text Ana
// question 3 of 10
What does replace() do?
Replaces text
Deletes text
Adds numbers
// question 4 of 10
What is a variable?
A container for data
A type of loop
A Python keyword
// question 5 of 10
What does upper() do?
Deletes text
Converts to lowercase
Converts to uppercase
// question 6 of 10
What is the result of str(True)?
1
True
false
// question 7 of 10
What is printed? print(5)?
5
Nothing
5""
// question 8 of 10
What does or do?
True only if both are True
True if one is True
Stops code
// question 9 of 10
What happens if user enters 5 in input()?
x stores 5
x stores ""5""
x stores True
// question 10 of 10
What is the result of 5 > 3?
5
False
True
Submit Answers →