test_enumerate.py 107 B

123
  1. my_list = ["苹果", "香蕉", "橙子", "葡萄"]
  2. result = list(enumerate(my_list, start=2))
  3. print(result)