The Python print() Function Quiz

Interactive Quiz ⋅ 18 Questions
By Martin Breuss

You’ve probably started your Python journey by learning about print(). It helped you write your very own Hello, World! one-liner. You might have also used it to display formatted messages onto the screen and perhaps find some bugs. But if you think that’s all there is to know about Python’s print() function, then you’re missing out on a lot!

If you’ve read over Real Python’s guide to the Python print() function, then you’ve learned how to take full advantage of this seemingly boring and unappreciated little function. In this interactive quiz, you’ll get the chance to test your knowledge!

The quiz contains 18 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

« Browse All Python Quizzes