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!

Question 1

This is an easy one to get you started.

What's the output of print("Hello, world!")?

  • Hello, world!
  • Hello world!
  • Hello world
  • Hello world!!

Question 2

How many soft keywords does Python 3.13 have?

  • 0
  • 2
  • 4
  • 8

Question 3

How many times does the Python 3.13 glossary use the word โ€œdunderโ€?

  • 0
  • 2
  • 15
  • 42

Question 4

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
  • 42
  • 3
  • a

Improve your Python ๐Ÿ fluency and algorithm knowledge ๐ŸŽฏ

Get ready for 12 intense days of problem-solving. The โ€œAlgorithm Mastery Bootcampโ€ starts December 1st and it will feature 24 programming challenges, live analysis sessions, a supportive community of like-minded problem-solvers, and more! Join now and become the Python expert others can rely on.

Previous Post Next Post

Blog Comments powered by Disqus.