Instead of a for
loop you can use a while
loop:
min = 1
max = 300
inc = 10
while min <= max+inc:
print(min)
if 100 < min <= 200: #define your increment-conditions here
inc = 20
elif 200 < min <= 300:
inc = 30
min += inc
output:
1
11
21
31
41
51
61
71
81
91
101
121
141
161
181
201
231
261
291
321
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…