Hi the if statment is here for:
1 for cheking if you type a something :
if len(original) > 0
2 for checking if you typed some word or a number:
like you can see we used
len(original) > 0 and
original.isalpha(): so if one them is false it will run the
I Hope that could help you.