<
RHD
/>
Home
Blog
Quiz
Resources
About
Contact
// guest
▾
Login
Request Account
[ light ]
// general
General Quiz
// question 1 of 10
What is printed? print(3 in {1,2,3})
False
3
True
// question 2 of 10
What is a list?
An immutable collection
An ordered mutable collection
A key-value structure
// question 3 of 10
What is printed? if True: print(""A"")?
A
Nothing
Error
// question 4 of 10
What is printed? def f(): return ; print(f())?
None
0
False
// question 5 of 10
What is the result of ""3"" + ""2""?
5
32
Error
// question 6 of 10
What is the difference between a class and an object?
A class holds data and an object holds methods
They are the same thing
A class is the blueprint and an object is an instance of it
// question 7 of 10
What does strptime("2025-04-07", "%Y-%m-%d") return?
A formatted string
A datetime object
A date integer
// question 8 of 10
What is printed? x=10 ; def f(): print(x+5) ; f()?
105
10
15
// question 9 of 10
How do you call a function named test?
run(test)
call test()
test()
// question 10 of 10
What is printed? if not False: print(""Yes"")?
Error
Nothing
Yes
Submit Answers →