Build an Employee Profile Generator - Step 11

Tell us what’s happening:

It keeps showing this message on the screen and I need help to pass this activity: You should concatenate ’ years old’ to the end of the employee_info variable.

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

Challenge Information:

Build an Employee Profile Generator - Step 11

Welcome to the forum @ygorbh10

Add the concatenation to the existing variable Not concatenate to a new variable.

Happy coding

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