Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- n = int(input())
- mas = list(map(float, input().split()))
- for i in range(n - 1):
- mas2 = list(map(float, input().split()))
- for i in range(len(mas)):
- mas[i] += mas2[i]
- n2 = 8
- template = '{:.' + str(n2) + 'f}'
- print(template.format(mas[0] / n), template.format(mas[1] / n), template.format(mas[2] / n))
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement