Build an Employee Profile Generator - Step 11

Tell us what’s happening:

I am on a block at this step because it says concatenate years old at the end but when I do i does not do anything it keeps telling met to concatenate I have my employee_info: then the code and after that I have + “” + “years old” and on my terminal it shows John Doe 28 years old

Your code so far

first_name = 'John'
last_name = 'Doe'
full_name = first_name + ' ' + last_name
address = '123 Main Street'
address += ', Apartment 4B'
employee_age = 28

# User Editable Region

employee_info = full_name + ' is ' + str(employee_age) + "" + "years old"


# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0

Challenge Information:

Build an Employee Profile Generator - Step 11

Now complete the sentence by concatenating the string years old to the end of employee_info

Sure. But the instruction was to concatenate just the string mentioned above.

you need to concatenate one string only, and you need to add the missing space

Thanks for the help I really appreciate it I finally passed the step

first_name = ‘John’

last_name = ‘Doe’

full_name = first_name + ’ ’ + last_name

address = ‘123 Main Street’

address += ‘, Apartment 4B’

employee_age = 28

# User Editable Region

employee_info = full_name + ’ is ’ + str(employee_age) + “” + “years old”

# User Editable Region solve my error i try 500+ times

hi @Bhardwaj please create your own topic so you can get the focus you deserve

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.