Regd. Domjudge:
Worked on a few codes it worked for a few and for few questions based on the list got a run-time error.
can you pls fix this? This code didn't work
a= map(int,input().split()) max = 0 for i in a: if (i>max): max = i print(max)
example 02:
list1 = [int(i) for i in input().split()] sum =0 for i in range(0,len(list1)): sum +=list1[i] print(sum)
DomJudge version: 7.3
Sunil Kumar UK
Deputy manager (Systems)
ICTS
Amrita Vishwa Vidyapeetham
Amritapuri Campus
Kerala, India 690525
Phone: 9446671509
[Amrita University]