I am having a spot of bother with the following script, it uses a function within it:
def my_function(arg1, arg2, arg3):
    print("I love listening to %s" %(arg1))
    print("It is normally played at %d BPM" %(arg2))
    print("I also like listening to %s" %(arg3))
    print("Dat be da bomb playa!")
print("What music do you like listening to?")
ans1 = input(">>")
print("What speed is that usually played at?")
ans2 = input(">>")
print("whats your second favourite genre of music?")
ans3 = input(">>")
my_function(ans1, ans2, ans3)
I get to the first user input: What music do you like listening to? When I type in 'House' and hit enter, I am expecting the second question to be displayed, but I get the following error message:
Traceback (most recent call last): 
File "ex19_MyFunction.py", line 26, in <module> ans1 = input(">>") 
File "<string>", line 1, in <module>
NameError: name 'house' is not defined**
Any help would be appreciated!
 
     
    