"""author: @pythonpips"""

ok = 'ok!'
print(ok*2)
# outputs ok!ok!
How to Print a String Two Times in Python

Subscribe to our newsletter