python function program if else code example Example: if else python if condition: result elif condition: result else: result