recently started learning coding and im really confused on this what have i typed wrong? i keep getting this error “Your code raised an error before any tests could run. Please fix it and try again”
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: [John Doe] | Age: [28]
# User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
i did that and now its saying “You should update employee_card to use the f-string f'Employee: {full_name} | Age: {employee_age}'.” my brain is officially fried
alr i understand that now but im still getting an error and i dont know what im doing wrong and i have everything correct i think? “employee_card = f"Employee: [John Doe] | Age: [28]”
If you have an error message please share the complete text of the message.
Error messages are extremely useful and often contain the precise information that you need to resolve a problem. What do you think the error message tells you about your code?