You are viewing a single comment's thread. Return to all comments →
Hi! No that will not happen.
secondLowestScore = sorted(set(_[1] for _ in classList))[1]
Because i used set the lowest score will appear only once. Therefore this line will return second lowest score.
Check out this video if you need more information: https://youtu.be/sBvaPopWOmQ
Nested Lists
You are viewing a single comment's thread. Return to all comments →
Hi! No that will not happen.
Because i used set the lowest score will appear only once. Therefore this line will return second lowest score.
Check out this video if you need more information: https://youtu.be/sBvaPopWOmQ