New python coder needs help

I wanted to create a function called aboutme, which shows my name and age and returns the result and then saves it as a variable. I wrote the below code, but it gives me a syntax error and shows the error at the f’
def aboutme (name, age):
retrun f’ I am {name.upper()}, {age} years old’
I= aboutme(‘Wessam’, ‘35’)
print (I)
Can you help me find where the error is?

Hey! Welcome to the forums!

Double check your spelling of return :slight_smile:

Also when sharing code make sure to format it like this, it makes it a little easier to see issues (particularly with languages like Python that are so whitespace sensitive)

1 Like

Thanks for your reply. It worked

1 Like