Build an Employee Profile Generator - Step 9

Tell us what’s happening:

it says update the employee_info assignment to concatenate the employee_age at the end, though have tried everything i can think of , i don’t know what am doing wrong, please i need pointers

Your code so far

first_name = 'John'
last_name = 'Doe'
full_name = first_name + ' ' + last_name
address = '123 Main Street'
address += ', Apartment 4B'

# User Editable Region

employee_age = 28
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/147.0.0.0 Safari/537.36

Challenge Information:

Build an Employee Profile Generator - Step 9

Hi @Iskenny,

Is employee_age a string?

Happy coding!

if i remove the quotes on the employee_age, it says “TypeError can only concatenate str (not “int”) to str”, am confuse

I was able to pass the test from step 9 after removing the quotes. it states that you are supposed to get an Error and then in the next step you work on fixing it. Are you still struggling with this step or the next one after it? let us know and post your code and we can continue to help you troubleshoot

1 Like

am struggling with the next step, i don’t know what to do to make the code pass, please i need pointers