AlexKost12

Untitled

Sep 18th, 2022
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. count = 0
  2. while True:
  3.     try:
  4.         number = int(input())
  5.         count += 1
  6.     except:
  7.         print(count)
  8.         break
Advertisement
Add Comment
Please, Sign In to add comment