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