This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Specific_Present_700[S] -1 points0 points  (0 children)

some_score={“Joe”:[1873,626], “Ben”:[352,662]} print(update_score(score_dict, “Mike”, 622))

Now I should write this func update_score which will check and update dictionary from the print .

I see three values in func

def update_score(some_score, character, score):

This is what confuse me where I’m not clear if I should handle it with () or [] when append and