Build an Employee Profile Generator - Step 5

Tell us what’s happening:

Hi , I am on step 5 on the employee part where you need to add a line to the address using +=, I have the code right and the correct spelling and its will not pas me, my code is.
address = ‘123 Main Street’
address += ’ , Apartment 48"
print(address)

Please helps me as its driving me crazy

Your code so far

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

# User Editable Region


address = '123 Main Street'
address += ' , Apartment 48'
print(address)


# User Editable Region


Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.4 Safari/605.1.15

Challenge Information:

Build an Employee Profile Generator - Step 5

Hi

I suggest you cut and paste what is in the grey shaded area in the instructions into your string as you have written it incorrectly. Don’t add extra spaces.

Hi thanks for the reply, it ws copied an pasted, I have re done this and it still does not work.

Are there leading or trailing spaces in the final printed string for address? assuming the hint prompt is saying the printed address should be a different string, I would check that the formatting matches. It helps to replace spaces with another character like $ or % to see where it might me

Hi

Please can you post your updated code. What you originally wrote had a typo, and had extra spacing so was wrong and wouldn’t pass. You need to tweak it to pass.

When you enter a code block into a forum post, please precede it with three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add the backticks.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').