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
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: