Build an Employee Profile Generator - Step 5

Tell us what’s happening:

it says to put += operator, i tried everything and it didnt work

Your code so far

first_name = 'John'
last_name = 'Doe'
print(first_name)
print(last_name)
full_name = first_name + ' ' + last_name
print(full_name)

# User Editable Region

address = '123 Main Street'

# User Editable Region

print(address +',Apartment 4B')  

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Edg/146.0.0.0

Challenge Information:

Build an Employee Profile Generator - Step 5

where are you using += for the address? I don’t see it

1 Like

Hello @pistachioo777

You need to use the += operator on address otherwise it will not work.

You are currently only using basic string concatenation and printing the result which is not what is asked.