Build an Employee Profile Generator - Step 9

Tell us what’s happening:

Hi
I am on step 9 on the employees date bit and I have to add employee_age to the line so it will bring up the error, I have done this and it will not let me pass and before someone says copy and paste, I have done this and it is not working.
My code reads
employee_age = 28
employee_info = ‘full_name’ + ‘employee_age’
Pleasde help

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' + 'employee_age'


# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.4 Safari/605.1.15

Challenge Information:

Build an Employee Profile Generator - Step 9

Hi @vickybellinger35,

Is employee_age a string?

Happy coding!

Thank you, will try that now

ok, what am I doing wrong:

first_name = 'John'

last_name = 'Doe'

full_name = first_name + ' ' + last_name

address = '123 Main Street'

address += ', Apartment 4B'

employee_age = 28

employee_info = full_name + 'is' + employee_age

It looks like you changed the starting code and removed the leading and trailing spaces around “is”.


I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with three backticks to make it easier to read and test.

You can also use the “preformatted text” tool in the editor (</>) to add the backticks.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').


Happy coding!

I am sorry, I have been looking at this for so long, I can’t see the error

/// employee_info = full_name + ‘is’ + employee_age

I have tried with spaces, no spaces, not sure what I have done

Thanks for your help

No worries. I suggest resetting this step and trying again. This time, only add employee_age. Don’t change any of the other code because doing that can break the tests.

Thank you it worked…..