expected an indented block python code example Example: expected an indented block You didnt add the spaces at the start of your if/while/for statement