I would like to include the user's response to 'age' in the answer.
However, including 'age' returns an error. Seems to be because it is preceded by float. Is there a way to include the response to 'How old are you?'?
Here's the code:
name = input("What is your name? ")
age = float(input("How old are you? "))
answer1 = (age + "!? That's very old, " + name + "!")
answer2 = (age + "? You're still young, " + name + ".")
if age > 60:
print(answer1)
if age < 60:
print(answer2)