You almost had it working! If you want for the program to include a specific exception aside from the one in your if statement you use elif. I also noticed that you forgot to close the print statement at the end of your code. Have a look at the example below; it should clear things up.
Tom Halff I am very thank full of you to solve my problem. You are a great person i am become your fan. Thanks, Thanks, Thanks.
Hey there! Don't forget to check your parentheses when using methods; specifically the format() method.
The above code is copied from your post. I had errors thrown at me, by forgetting that one parenthesis ?.