#1
def hit_stay():
hit_stay = ''
while True:
hit_stay = input('Would you like to Hit or Stay?')
if hit_stay in ['hit','Hit','stay','Stay']:
hit_stay = hit_stay.capitalize()
return hit_stay
else:
print('Please enter a valid word)
#2
When I use the code and call the function it works the first time
hit_stay = hit_stay()
#3
Then I print the choice
print(hit_stay)
However if I try and call number 2 again to get a different choice it says 'str' not callable Im trying to ask the user for a choice in order to use that choice later in my code. I found of that if run number 1 again then number 2 everything works ok but I need to be able to call this function later and get a new answer.