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
while choice.isdigit() == False or int(choice) not in valid_range:
choice = (input('Please select a Number (1-10) :\n'))
print(f"Let's Try, Select only from (1-10) : {choice}")
return(int(choice))
The text was updated successfully, but these errors were encountered:
def user_choice():
valid_range = range(0,11)
choice = 'ABCDE'
The text was updated successfully, but these errors were encountered: