popo26 / Projects

Projects for CodingNomads --> Python101, 201, and 301
0 stars 0 forks source link

not every `if` needs an `else` #4

Open giladgressel opened 2 years ago

giladgressel commented 2 years ago

https://github.com/popo26/Projects/blob/e47a785bd2c1fb9647c97a3738f2c8824f7d09e5/301_03_build_a_card_game/cards.py#L143-L153

You don't need the else block here It will automatically continue regardless.

popo26 commented 2 years ago

Ok!