Python: Part eight - Deepstash
Learning Python: IF statements continued

As you can see in this image i am using variables this time in the if statement. As was mentioned in the first part about if statements that they only return True or False. I have 2 if statements but only one is printing out to the console, this is because only one of them is true, join the dicsord channel and let me know why the second is not printing.

If statements can be used for alot of different situations, for example from simple text based games, to data processing to AI, IF statements are fundemental in python.

Dont forget to join discord if you need help



🚶 On a walk

Deepstash helps you become inspired, wiser and productive, through bite-sized ideas from the best articles, books and videos out there.