def process_player_choice():
print('what is your choice? enter 1 for rock, 2 for paper, or 3 for scissors: ')
choice2 = int(input())
while choice2 != 1 and choice2 !=2 and choice2 != 3:
print('error: the choice can only be 1,2 or 3.')
choice2 = int(input('please enter a correct choice: '))
return choice2
i need my program to print the error message when they type something other than 1,2 or 3. for example if i type "c" or "1.5" my program crashes. the error message i get is "builtins.ValueError: invalid literal for int() with base 10: '1.5'". if you want to look at the whole program heres the link https://gist.github.com/anonymous/ee43c2a593bae22a5dec99c9cb1dd26c