Wrong answer despite of correct logic

Why is my ans coming out to be wrong

Hi @Codarikh
Your code is failing because you have forgot to add space between full stop and Try. It should be like this :
Invalid operation. Try again.

Here is your corrected code :

Mark your doubt as resolved if it is clear.