Source Code:
(back to article)
t = (1, 2, 3) t_repeated = t * 3 print(t_repeated) # Output: (1, 2, 3, 1, 2, 3, 1, 2, 3)
Result:
Report an issue