text: """在终端中显示 0 1 2 3
  在终端中显示 2 3 4 5 6
  在终端中显示 1 3 5 7
  在终端中显示 8 7 6 5 4
  在终端中显示-1 -2 -3 -4 -5"""
  c = 0
  while c < 4:
      print(c)
      c += 1
  print('------------')
  
  c1 = 2
  while c1 < 7:
      print(c1)
      c1 += 1
  print('------------')
  
  c2 = 1
  while c2 < 8:
      print(c2)
      c2 += 2
  print('------------')
  c3 =8
  while c3>3:
      print(c3)
      c3-=1
  print('------------')
  c4=-1
  while c4>-6:
      print(c4)
      c4-=1