Sorry, I can’t understand you.

--Originally published at Welcome to the Heaven

When you are a beginner, you can have a lot of mistakes in your first programs and I guess that one of the most frustrating are the:

ValueError

Because the user did not write the input in the correct way. We can fix it with a loop with try and except.

 

screen-shot-2016-11-26-at-9-32-40-pmscreen-shot-2016-11-26-at-9-33-17-pm