Python Exercises


Welcome to Python Exercises.

We know that you are learning Python programming language. This series of exercises will help you test your learning in every step of your journey.

For example consider the following exercise.

Exercise 1

Fill in the missing part of the code to print “Hello World” to standard output.

('Hello World')

If you know the answer, enter your response into the field(s), and then click on the Submit Answer button. If you are not aware of the answer, and would like to know the answer, click on the Show Answer button.

Similarly, you can attempt the next exercises in this Python exercises.

Code copied to clipboard successfully 👍