You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using readline(prompt = "Question? ") does not allow for specificity of what data type is given (e.g. text, single integer, comma seperated text or integers) as it reads everything in as a string.
At multiple points in the code the user is asked for a certain input but if they gave a different type, it would not always notice this is an invalid input. More validation checks on the input the user gives to every readline(prompt) is needed to avoid the code crashing and giving the user non-specific error message
The text was updated successfully, but these errors were encountered:
Using
readline(prompt = "Question? ")
does not allow for specificity of what data type is given (e.g. text, single integer, comma seperated text or integers) as it reads everything in as a string.At multiple points in the code the user is asked for a certain input but if they gave a different type, it would not always notice this is an invalid input. More validation checks on the input the user gives to every readline(prompt) is needed to avoid the code crashing and giving the user non-specific error message
The text was updated successfully, but these errors were encountered: