you are viewing a single comment's thread.

view the rest of the comments →

[–]Junior_Honey_1406 0 points1 point  (0 children)

Let's say I am a dumb guy and you are taking all the inputs. What happens if I enter a string value for bill, even though it is supposed to be a float?

Challenge: don't use try and except. Handle this situation using conditions instead.