How do you put else condition on this function

Printable View