How do I make a string repeat itself for example:
instead of writing print (\'---------------------------\') how do I make it something like print (\'
print (\'---------------------------\')
print (\'
You were so close:
>>> print('-' * 60) ------------------------------------------------------------
You need to multiply the str value, not the return value of the print() function.
str
print()