Python的for i in range(x, y)

for i in range(1, 5):
print(i)

# i 返回1,2,3,4

猜你喜欢

转载自www.cnblogs.com/zpf1092841490/p/10098018.html