Page 199 -
P. 199
comprehending data
Test Drive
Take all of the recent amendments and apply them to your program. Run this latest code within IDLE
when you are ready.
Sort and sanitize
each list.
Remove the
duplicates.
Looking good!
It worked!
You are now displaying only the top three times for each athlete, and the
duplicates have been successfully removed.
The list iteration code is what you need in this instance. There’s a little bit of
duplication in your code, but it’s not too bad, is it?
you are here 4 163