Python function using input() returns empty string if the right answer is not provided on first try
possible_options = ['R', 'P', 'S']
print('''
Welcome to the rock, paper, scissors game.
Please choose either rock (r), paper (p)
or scissors (s) to start playing.
''')
def human():
human_choice: str = input('''
Write your choice here >>>:
''').upper()
if human_choice not in possible_options:
print('''
Come on, you\'re smarter than that.
Choose again
''')
human()
elif human_choice in possible_options:
return human_choice