Chapter 2.2 - Identation

Indentation matters. Each line under the if statement that is indented will only be executed if the statement is true. After the intended block execution continues as normal.

# Indentation 
a = 2
if a == 1:
    print("If a is one, this will print.")
    print("So will this.")
    print("And this.")
print("This will always print because it is not indented.")

Indentation must be exactly the same. Following code doesn't work :

if a == 1:
  print("Indented two spaces.")
    print("Indented four. This will generate an error.")
   print("The computer will want you to make up your mind.")