joeyajames/Python

Temperature conversion project

Closed this issue · 2 comments

In this project, if the user inputs a text with alpabetic characters as the choice variable, it gives an error. Even if the choice is 1 or 2, if the user inputs a alphabetic string, it gives an error as well. So, we need to check the user's answer and respond accordingly, so that it doesn't give an error.

@froumeli you are right, but this is a basic educational video. It is not intended to be robust production code. It's much easier for beginners to skip error checking and try/catch blocks when writing their first few lines of code. So I have no intention of changing this.