Slicing 12345 L[:10:2] # [0, 2, 4, 6, 8]L[::5] # 所有数,每5个取一个# [0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95] L[:] # copy L Iterating 12 for x, y in [(1, 1), (2, 4), (3, 9)]: print(x, y) List Comprehension A list compreh…