I'm trying to create the basic question for my blackjack game and I want to pass the user's input as a parameter inside a function I created. I tried running my code inside my terminal and nothing happened. Can someone tell me what I did wrong?
#function that passes one parameter that prints a question
def ask_user(a):
print('Would you like to HIT or STAND?')
#variable that holds the user's input
user_answer = input()
#calling the function and passing the users input as the parameter
ask_user(user_answer)
def ask_user(a): user_answer = input('Would you like to HIT or STAND?').