DEV Community

Discussion on: Making Decisions in Python

Collapse
 
lweiner profile image
Lukas Weiner

I think I would appreciate it if you would tell the people that the age example is not that ideal, because you could just check if the age is in an array or you could even check if the age exists and then make a format string out of it. I think that would be a better solution for that problem. Other than that I think you post this quite useful and I generally like it.

Collapse
 
princeibs profile image
Suleiman Ibrahim

Thanks for the review @lweiner . I'll make possible corrections on the next update.