Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Fix the Set

This program should count the unique colors, but it's using the wrong way to create a set. Fix it!

Expected output:

text
3

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python
colors = ["red", "blue", "red", "green", "blue"]
unique = [colors]
print(len(unique))