Build an Employee Profile Generator - Step 15

Tell us what’s happening:

The app show me a code error. I put everithing but i failed

Your code so far

first_name = 'John'
last_name = 'Doe'
full_name = first_name + ' ' + last_name
address = '123 Main Street'
address += ', Apartment 4B'
employee_age = 28
employee_info = full_name + ' is ' + str(employee_age) + ' years old'
print(employee_info)
experience_years = 5
experience_info = 'Experience: ' + str(experience_years) + ' years'
print(experience_info)

# User Editable Region


employee_card = f'Employee: {full_name} | Age: {employee_age} | 
position = "Data Analyst"
salary = 75000
employee_card = f'Employee: {full_name} | Age: {employee_age} | Position: {position} | Salary: ${salary} 
print(employee_card)

# 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/146.0.0.0 Safari/537.36

Challenge Information:

Build an Employee Profile Generator - Step 15

Welcome to the forum @pacoyahir2004 !

The instruction said to " update your employee_card f-string", which means you should have changed the f-string in the existing employee_card variable assignment.

Instead, you have two employee_card variable assignments now, which is causing the tests to fail.

Also, neither of your f-strings is closed (notice the change in the text color in your new code compared to the starting code for this step).

Happy coding!