Learn practical skills, build real-world projects, and advance your career
Created 5 years ago
N= int(input())
value = []
for i in range(N):
arr = list(map(int, input().split()))
value.append(max(arr)**2)
print(value)
print(sum(value))
3
3 4 5
6 7 8
9 8 7
[25, 64, 81]
170
import jovian
jovian.commit()
[jovian] Saving notebook..