When I'm testing my code all the functions works except for when you don't put anything in then it gives a error message saying:
Traceback (most recent call last):
File "python", line 6, in
IndexError: string index out of range
The if line is the one I used in earlier exercises and it works for when you put in numbers so what is the problem now?