Build an Employee Profile Generator - Step 5

Tell us what’s happening:

first_name = ‘John’
last_name = ‘Doe’
print(first_name)
print(last_name)
full_name = first_name + ’ ’ + last_name
print(full_name)
address = ‘123 Main Street’
address += " Apartament 4B "
print(address)

что тут неправильно?

What’s wrong here?

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'
address += " Apartament 4B "  
# User Editable Region
print(address)

Your browser information:

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

Challenge Information:

Build an Employee Profile Generator - Step 5

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f1.md at main · freeCodeCamp/freeCodeCamp · GitHub

Use the += operator to add the string , Apartment 4B to your address variable.

Make sure you are using the right spaces and the right punctuation

So that’s exactly what I did.

if you still need help please post your updated code; in the code you posted earlier the comma is missing and there is an extra space at the end