Learn Python
Strings
3.1
Lesson

Printing a String Multiple Times

We can print a string multiple times by using, ‘*’, the asterisk symbol:

The new line character \n is used to create a new line in the String.