Build an Employee Profile Generator - Step 11

Tell us what’s happening:

My code is below, I keep receiving "You should concatenate " year’d old’ to end of the employee info variable. What am i doing wrong? thank you

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)
employee_info += " years old"
print(employee_info)

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)
employee_info += " years old"
print(employee_info)

# 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/142.0.0.0 Safari/537.36

Challenge Information:

Build an Employee Profile Generator - Step 11

With concatenation you need to work on the existing line. You are using the assignment operator. Have a look at line 3 for an example.

you are asked to update the assignment, so this line

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.