Tell us what’s happening:
Step 9. Please help. I can’t figure out what I’m 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 ’ + str(employee_age)
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/145.0.0.0 Safari/537.36
Challenge Information:
Build an Employee Profile Generator - Step 9
dhess
February 24, 2026, 3:16pm
2
Are you on Step 9? Your code doesn’t look like what is expected for that step.
If you’re actually on Step 11, don’t forget this instruction:
Finally, print employee_info
I am on Step 9. The years old portion was something I tried to get through Step 9, but it did not work.
dhess
February 24, 2026, 4:00pm
4
The only thing you are asked to do in Step #9 is concatenate employee_age to the end of the existing employee_info assignment. There is nothing in this step about ’ years old’. That doesn’t come until Step 11.
Tell us what’s happening:
Step 9, please help. I don’t know what I’m doing wrong. I posted previously but entered the wrong code, so I’m posting again with my correct string.
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 ’ + str(employee_age)
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)
# 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/145.0.0.0 Safari/537.36
Challenge Information:
Build an Employee Profile Generator - Step 9
dhess
February 24, 2026, 4:01pm
6
Please don’t create duplicate topics for the same challenge/step. I’ve merged your recent post into this existing topic.
ILM
February 24, 2026, 4:02pm
7
also in this step it’s expected to have an error, do not use str
I agree. I tried multiple times concatenating employee_age with no success. I was at my wit’s end and tried everything I could think of. So I tried adding the years old, which of course did not work either. I deleted and rest the step several times. When I posted I mistakenly posted the one with the years old, but that was long since deleted and reset and I still can’t make it work.
This is my current code :
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 ’ + str(employee_age)
Thank you. My intention was to delete the first because I inserted the incorrect code.
dhess
February 24, 2026, 4:15pm
11
Try resetting this step and doing ONLY what is asked in the instructions.
You are not asked to apply the str() method in this step…are you skipping ahead?
The entire goal of this step is to show you that trying to concatenate an integer to a string will generate an error.
Is this correct?
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_info + employee_age
dhess
February 24, 2026, 4:28pm
13
Continue writing on this line your employee_age concatenation.
Thank you. I swear I tried that yesterday, but then I tried everything for five hours yesterday.