News

How to use if statements in Python. If you have never programmed before, then make sure to read the next section to find out precisely what an “if statement” is, and how to use it.
In contrast, you need to indent Python statements properly, or your program won’t run. You can use tabs or spaces, or even mix the two, but you have to be consistent.