In the connect_four plug-in, if the user enters a non-numeric value as input for column, then an error is thrown to the user which interrupts the gameplay and stops it. Instead of throwing ValueError to the user, we can simply ask them again for the column input till they enter a numeric input.
Description
In the
connect_four
plug-in, if the user enters a non-numeric value as input forcolumn
, then an error is thrown to the user which interrupts the gameplay and stops it. Instead of throwingValueError
to the user, we can simply ask them again for the column input till they enter a numeric input.Before