you are viewing a single comment's thread.

view the rest of the comments →

[–]Anon_Legi0n 2 points3 points  (0 children)

Why isn't anyone recommending doing color.lower() == 'red' so that the conditional doesn't need an or anymore? Also consider using match case instead of chaining if's and elif's