I'm really new to Python and am going through a training course :). The course is walking us through basic functionality. I'm using Python 3.7.2 on a Mac.
Here's the code I'm using and the result. It doesn't appear to be an error, just not the result I was looking for.
Whoops, beginner mistake. Forgot to use the () at the end of the function name. *face palm*
Here's the code I'm using and the result. It doesn't appear to be an error, just not the result I was looking for.
>>> def age(): user_age = input("Enter: ") print("you are {}".format(user_age))
Error:<function age at 0x110912f28>
Thanks!Whoops, beginner mistake. Forgot to use the () at the end of the function name. *face palm*