syntax of if else python code example Example: if statement python if (condition): result else: result