How does python choose the highest score from a list? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How does python choose the highest score from a list?

Example: Games = [4,7,3,9] Highestscore = max(Games) wouldnt work.

1st Feb 2022, 2:42 AM
Lenoname
3 Answers
+ 4
games = [6,5,11,3] Highestscore = max(games) print(Highestscore)
1st Feb 2022, 2:51 AM
Abu Habban
Abu Habban - avatar
+ 3
Games = [4,7,3,9] Highestscore = max(Games) print(Highestscore) works for me
1st Feb 2022, 2:49 AM
L.M.Paredes
L.M.Paredes - avatar
+ 1
Abu Habban Tnx i printed (Games) out by mistake
1st Feb 2022, 3:06 AM
Lenoname