Build an Employee Profile Generator - Step 15

Tell us what’s happening:

Now it’s time to add the final details to the card.

Create a variable named position with the value of the string Data Analyst and a variable named salary with the value of the integer 75000.

Then, update your employee_card f-string to include the position and salary. It should follow this exact format: Employee: [full_name] | Age: [employee_age] | Position: [position] | Salary: $[salary]. Replace the placeholders with the corresponding variables.
I dont know what I did wrong here

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'

# User Editable Region

print(experience_info)
employee_card = f'Employee: {full_name} | Age: {employee_age}'
position='Data Analyst'
print(position)
salary=75000
print(salary)
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/145.0.0.0 Safari/537.36

Challenge Information:

Build an Employee Profile Generator - Step 15

…update your employee_card f-string to include the position and salary

The instructions ask you to update the existing employee_card assignment, not create a new employee_card assignment.