The fun part will be in figuring out how to do the error checking. I tried a couple of If statements checking if the input was a float but I couldn’t get it to work. Looking forward the solution.
You’d either need to use a regular expression or a try/catch block. The former is beyond the scope of this lecture series, but I think I have videos on it. The latter will be covered later on.