Create ifelse.py

to execute the if-else statement