I want to print a character or string like \'-\' n number of times.
Can I do it without using a loop?.. Is there a function like
print(\'-\',3)
Python 2.x:
print '-' * 3
Python 3.x:
print('-' * 3)