Multiplying a sequence by a number x creates a new sequence where the original sequence is repeated x times : Multiply « List « Python Tutorial






print 'python' * 3
print [42] * 10
7.20.Multiply
7.20.1.Multiplying a sequence by a number x creates a new sequence where the original sequence is repeated x times