I am trying to write a simple script that prints the user's input but I cannot get the print function to work. I believe it is something very small that I am missing. Below is an example I found outline but the script ends after I enter a number. Thanks!
word = input("Tell me your age: ")
num = int(word)
print("Your age is ", num)
Update: Print works when the input and print are entered separately. Why can't I enter it all together?
>>>word = input("Tell me your age: ")
>>>print "Your age is ", word
Tell me your age: 10
>>> word = input("Tell me your age: ")
Tell me your age: 10
>>> print "Your age is ", word
Your age is 10