Play this short Python quiz to test your Python knowledge!
At EuroPython 2024 I did a lightning talk where I presented a “Who wants to be a millionaire?” Python quiz. There was a whole performance going on during the lightning talk, but the questions themselves were very interesting and I'm sharing them here so that you can test your Python knowledge!
This is an easy one to get you started.
What's the output of print("Hello, world!")
?
How many soft keywords does Python 3.13 have?
How many times does the Python 3.13 glossary use the word “dunder”?
The final question is pretty much impossible unless you've been doing Python for quite a while...
What does the following Python 2 code output?
print`3<3`[~3]
SyntaxError
Get a daily drop of Python knowledge. A short, effective tip to start writing better Python code: more idiomatic, more effective, more efficient, with fewer bugs. Subscribe here.