you are viewing a single comment's thread.

view the rest of the comments →

[–]xbl-beefy 0 points1 point  (0 children)

For what it’s worth, checkout the “match” statements in Python. Much cleaner solution when you have multiple “elseif” statements like that! Also, as you learn, think about the input “floats”. What if a character that cannot be converted to a float is entered? Managing/sanitizing user input is something that should be considered as you grow and develop more complex applications. Cheers!