<
RHD
/>
Home
Blog
Quiz
Resources
About
Contact
// guest
▾
Login
Request Account
[ light ]
// Basics
Basics Quiz
// question 1 of 10
What is the result of ""hello"".upper()?
Hello
HELLO
hello
// question 2 of 10
What is the result of int(3.9)?
3
4
3.9
// question 3 of 10
What does endswith() check?
Beginning of text
Uppercase letters
End of text
// question 4 of 10
What does print() do?
Displays output
Deletes variables
Reads input
// question 5 of 10
What is the result of not True?
0
False
True
// question 6 of 10
What is printed? x = 5 ; print(x)?
Error
x
5
// question 7 of 10
What is the result of ""Hi"" + ""!""?
Hi!
Hi !
Error
// question 8 of 10
What is the result of 3 <= 2?
False
True
3
// question 9 of 10
What is the result of ""python""[0:2]?
pt
yo
py
// question 10 of 10
What does upper() do?
Converts to uppercase
Deletes text
Converts to lowercase
Submit Answers →