Advertisement
Sofya_Soloveva_

Untitled

Jul 18th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. estimation = [None] * 18
  2. for i in range(18):
  3.     estimation[i] = int(input())
  4. points = [0,sum (estimation[0:6]),sum(estimation[7:12]), sum(estimation[13:])]
  5. print(points.index(max(points)),'программа')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement