<
RHD
/>
Home
Blog
Quiz
Resources
About
Contact
Enlist
// guest
▾
Login
Request Account
[ light ]
// Basics
Basics Quiz
// question 1 of 10
What is the result of 5 + 2 * 3?
11
21
15
// question 2 of 10
What is the result of float(5)?
5
5.0
Error
// question 3 of 10
What is the result of ""hello"".upper()?
hello
Hello
HELLO
// question 4 of 10
What is printed? print(type(True))?
bool
<class 'bool'>
True
// question 5 of 10
What must be used to convert input to integer?
float()
str()
int()
// question 6 of 10
Can a variable change value?
No
Yes
Only numbers
// question 7 of 10
What is the result of str(5) + ""5""?
55
Error
10
// question 8 of 10
What is printed? x = 5 ; print(x)?
5
Error
x
// question 9 of 10
What is the result of ""python""[:3]?
pyt
tho
Error
// question 10 of 10
What is the result of ""abc"" == ""abc""?
False
abc
True
Submit Answers →