Dr-Scott-James / pykalk

Used for teaching the basics of Git and GitHub
0 stars 0 forks source link

No input data validation #2

Open Dr-Scott-James opened 4 years ago

Dr-Scott-James commented 4 years ago

Currently any data can be input for the numbers in pykalk, which will cause the program to break when an attempt to convert the non-numeric data to a numeric type occurs.

The following needs to be completed:

  1. Check the data type
  2. If the data is numeric, we have nothing to worry about
  3. If the data is not numeric, inform the user:
    1. We could, just stop the program after informing the user
    2. We could allow the user to try to reinput correct data image
Dr-Scott-James commented 4 years ago

@DelphDes - You might want to jump into this issue conversation since it affects you too!