TOPIC
CERTO PYTHON 1436
Weswill asked 2 years ago
-- coding: utf-8 --
n = int(input())
for i in range(1, n+1): l = list(map(int,input().split())) a = int(len(l)/2) if len(l) % 2 == 0: print('Case %d: %d' %(i, l[a])) else: print('Case %d: %d' %(i, l[a+1]))
This topic has not been answered yet. Be the first!