#获取一个值在某个区间的指定倍数的值方法#1# print([i for i in range(1,101) if i%5==0])# 2# L = range(1,101);# for k in L:# if k%5==0:# print(k)#3# for k in range(0,101,5):# if not k==0:# print(k)#4# for k in range(1,101)[4::5]:# print(k)#5# for k in range(1,101):# if k*5>100:# continue## print(k*5)