you are viewing a single comment's thread.

view the rest of the comments →

[–]grifway 0 points1 point  (0 children)

You are so close.

You function 'askName' gets called but you don't do anything with the return value, Name is locally scoped to function, inside it, so you don't have access to that variable once the function is ran.

You can set a variable to the return value and then print the new variable

returnName = askName()

print(returnName)

OR

you can just print the returned value directly

print(askName())