Display string multiple times

Python 2.x:

print '-' * 3

Python 3.x:

print('-' * 3)

Leave a Comment