Build an Employee Profile Generator - Step 9

Tell us what’s happening:

i dont understand what i did wrong here.. i don’t know any other ways to do this.. i tried putting str(employee_age) but its didnt work as well..

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

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

What happens when you check your code?

Yes. And what do the instructions say about that error? :slight_smile:

Ah, I see what you did. You changed the starting code. Your concatenation is correct and the TypeError is expected.

employee_info = full_name + ' is '

Please reset this step and try again. Don’t change the starting code. Just concatenate employee_age.

but i couldnt go to the next step… the type error is showing again

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