How to store an if statement in a variable in Python - Kevin Powell - Community