arr = ['x', 'y', 'z']arr = arr * 3 + arr a = len(arr)b = arr[5]print(a, b)
8
12 z
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!