i have been struggling to use this function to trap the errors from a user input.
def user_choice():
choice = 4
while choice > 3
choice = int(input("what list is your card in"))
return choice
any ideas would be appreciated. thanks