Python: Part Seven - Deepstash
Learning Python: IF statements

As you can see in the image, we are working with conditional if statements. This is used to find out if something is True or False. As you can see i used '<', this means less than, so in this statement i am asking is '1 less than 10' and if true it will run the print inside. There is one key difference here than normal prints that we have done and that is the indent, this is saying if the if statement is True then go in to the scope, the indent and run all the code in there then move on.

Next part more on if statements.

Dont for get to join discord for 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.