Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
The print function
7. Multiple statements in Python
Variables
Math in Python
The input function
Summary

Instruction

Good job! You can also use print() multiple times, starting from a new line every time:

print('This')
print('really')
print('works')

The result will be:

This
really
works

As you can see, each time we used print(), it always started to print from a new line.

Exercise

Print two sentences, each starting on a new line:

  • I am learning Python
  • Python is useful

Stuck? Here's a hint!

Just use the print() function two times, each time with a different sentence.