fork download
  1. #zadanie. napisz program, który za pomocą pętli while wypisze wszystkie
  2. #liczby całkowite od y do x (y i x podaje użytkownik, y > x) w kolejności
  3. #malejącej.
  4.  
  5. x = int(input(""))
  6. y = int(input(""))
  7.  
  8. while y >= x:
  9. print(y, end=" ")
  10. y = y - 1
Success #stdin #stdout 0.1s 7920KB
stdin
23
45
stdout
45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23