Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n=int(input())
- s=0
- c=0
- while n!=0:
- s += n
- c += 1
- n=int(input())
- print(s/c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement