enumerate和for循环
import string,random
arr = [random.choice(string.ascii_lowercase)]
arr = random.sample(string.ascii_lowercase,3)
print(arr)
# 第二个参数代表下标从几开始
for i,j in enumerate(arr,2):
print(i,j)
-----------------------------------------------------------------------------------------------------------------------------------------