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