AnnaVolkova

Untitled

Jul 13th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. a=int(input())
  2. k=0
  3. while a!=0:
  4. b=int(input())
  5. if b>a:
  6. k+=1
  7. a=b
  8. print(k)
Add Comment
Please, Sign In to add comment