Repetition ( * ) : Concatenate « List « Python Tutorial






num_list = [43, -1.23, -2, 6.19e5]

print num_list * 2
print num_list * 3








7.5.Concatenate
7.5.1.Adding Sequences
7.5.2.Operators
7.5.3.List Operators
7.5.4.Repetition ( * )