Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make() needs better error handling #2

Open
soumitradev opened this issue May 18, 2020 · 1 comment
Open

make() needs better error handling #2

soumitradev opened this issue May 18, 2020 · 1 comment

Comments

@soumitradev
Copy link
Collaborator

I don't know if you want to handle all errors, but make() needs better error handling when the input is invalid.

the row = input().split(maxsplit=self.C) and the code after the line gives a string to float conversion error when the user inputs more numbers than the size.

Maybe we can check if the line has the correct number of numbers and then ask the user to enter a valid row if the input is invalid?

@mdvsh
Copy link
Owner

mdvsh commented May 18, 2020

Yes. This needs to be done. As I mentioned in the README, input error handling is still to be done. I'll do it.

mdvsh added a commit that referenced this issue May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants