How to print a string N numbers of times?

PHOTO EMBED

Mon Apr 20 2020 13:58:55 GMT+0000 (Coordinated Universal Time)

Saved by @Rose lady #python #python #strings

n = 2

s ="Programming"

print(s * n) # ProgrammingProgramming
content_copyCOPY

The above code is used to print any string N number of times.

https://towardsdatascience.com/30-helpful-python-snippets-that-you-can-learn-in-30-seconds-or-less-69bb49204172