Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 5. Брояч назад (while)
- # Въведете цяло положително число n. Използвайки while, отпечатайте числата от n до 1.
- num = int(input("Please, enter a positive integer: "))
- while num >= 1:
- print(num)
- num -= 1
Advertisement