Answer to Question #303111 in Python for swathi

Question #303111

Highest sum of scores program

input format is

2

0 1 2

3 1 0


1
Expert's answer
2022-02-28T16:21:52-0500
def sum_score(n):
    list1 = []
    for i in range(n):
        s = 0
        j = input('Enter comma separated values')
        j = j.split(',')
        for i in j:
            s = s + int(i)
        list1.append(s)
    return max(list1)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS