+ 1
https://code.sololearn.com/csnqyx51kz0q/?ref=app
there are just too many things you've done wrong, try the code below and learn from it. also, you should complete the python for begginerrs course.
+ 6
You need to review Python course, especially the chapters covering input & output technique.
* You try to use variable <g> before you read its value
* You have 'g' inside a string -> " + g ars old" but that was not the correct way to print a variable's value.
+ 2
g = int(input())
print("you are",str(g),"years old")
String data type cannot be concatenate with int data type .
If You want to use a int as a string typecasting comes into the play.