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
The function get_input_board is currently doing two different things that should be handled by two seperate functions:
Prompting the user to input a sudoku board
Converting a sudoku board represented as a string to a Sudoku object. This second function should not print anything or prompt for input.
The second of these should be a method of the Sudoku class! The constructor (__init__ method) should detect the type of its input with the typeof and feed it into the string conversion function if appropriate.
The text was updated successfully, but these errors were encountered:
The function
get_input_board
is currently doing two different things that should be handled by two seperate functions:Sudoku
object. This second function should not print anything or prompt for input.The second of these should be a method of the
Sudoku
class! The constructor (__init__
method) should detect the type of its input with thetypeof
and feed it into the string conversion function if appropriate.The text was updated successfully, but these errors were encountered: