<
RHD
/>
Home
Blog
Quiz
Resources
About
Contact
Enlist
// guest
▾
Login
Request Account
[ light ]
// Basics
Basics Quiz
// question 1 of 10
What does and do?
Reverses value
True if one is True
True if both are True
// question 2 of 10
What is the result of ""abc""[::2]?
bc
ac
ab
// question 3 of 10
What is the result of ""cat"".find(""z"")?
Error
0
-1
// question 4 of 10
What is stored in x? x = 5?
The letter x
Nothing
The number 5
// question 5 of 10
What is the result of 3 <= 2?
True
False
3
// question 6 of 10
What is the result of not False?
1
False
True
// question 7 of 10
What is the value of x? x = 5 ; x = 7?
7
5
57
// question 8 of 10
What is the result of "" hi "".strip()?
hi
hi
hi ""
// question 9 of 10
What is the result of 2 ** 3?
6
8
9
// question 10 of 10
What is the result of bool(1)?
False
1
True
Submit Answers →