Skip to content

make() needs better error handling #2

@soumitradev

Description

@soumitradev

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions