Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- total_sum = 0
- number = int(input())
- for i in range(number):
- total_sum += int(input())
- print(f"{(total_sum / number):.2f}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement