python string multiply code example
Example: how to multiply a string in python
#Python 2.x:
#print 'string' * (number of iterations)
print '-' * 3
#Python 3.x:
#print ('string' * (number of iterations))
print('-' * 3)
#Python 2.x:
#print 'string' * (number of iterations)
print '-' * 3
#Python 3.x:
#print ('string' * (number of iterations))
print('-' * 3)