Exercise: Remove duplicates with set()
The scores list contains repeated values. Convert it to a set to keep only the unique scores. You learned
set() can take any iterable, so pass the list directly.Premium
Python
Setting up Python environment... Output