Build an Employee Profile Generator - Step 2

Tell us what’s happening:

you are rejecting this code:
first_name = ‘John’
last_name = ‘Doe’
print(first_name)
print(last_name)
full_name = ‘John’ + ‘Doe’
print(full_name)

Your code so far

# User Editable Region
first_name = 'John'
last_name = 'Doe'
print(first_name)
print(last_name)
full_name = 'John' + 'Doe'
print(full_name)
# 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/151.0.0.0 Safari/537.36

Challenge Information:

Build an Employee Profile Generator - Step 2

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

Create a variable full_name by concatenating first_name and last_name.

Use the variable names, not the strings which have already been assigned to the variables.

What if you want to change the first name to “Chris” ? In your code you have to change “John” in two places. You assign it to a variable so you only have to change it once.