"""
    循环计数
    三要素
        初始值，循环条件，增减变量
"""
# count = 0
# for i in range(1,5,2):
#     print("跑圈")
#     count+=1
# print(count)
# print("------------")
count1 = 0
while count1 < 3:
    print(count1)
    count1 += 1
print("------------")
count2 = 2

while count2 < 6:
    print(count2)
    count2 += 1
print("------------")
count3 = 1
while count3 < 7:
    print(count3)
    count3 += 2
print("------------")
count5 = 8
while count5>=4:
    print(count5)
    count5 -=1

print("------------")


count4 = 0

while count4 > -5:
    count4 -= 1
    print(count4)
