Build an Employee Profile Validator - Step 7

Tell us what’s happening:

messy_name = ’ sARaH dAVis ’
print(f’Original name:{messy_name}')

This is my code so far, it says that I’m missing the quotes. I have no clue how to include them.

Your code so far

email = 'alice.johnson@company.com'
print(f'Email: {email}')

at_position = email.find('@')
print(f'Position of @: {at_position}')

username = email[:at_position]
print(f'Username: {username}')

has_at = '@' in email
print(f'Has @ symbol: {has_at}')

has_com = '.com' in email
print(f'Has .com: {has_com}')

# User Editable Region
messy_name = '  sARaH dAVis  '
print(f'Orginal name:{messy_name}')

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

Challenge Information:

Build an Employee Profile Validator - Step 7

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-employee-profile-validator/69e6299710319e7cb8ebdc37.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hi @gorneyjo,

Socrates is providing a very good hint for your code:

Your print statement misspells “Original” and omits the space after the colon as well as the required single quotes around messy_name. Update the f‑string to spell Original correctly, include a space after the colon, and wrap messy_name in single quotes, then run the code and try again.

Remember, you can use both double quotes and single quotes for your f-string.

Happy coding

Just work in the f string and not in the variable, i’m talking about the quotes

I got caught on the same thing. This was correct

Screenshot 2026-11-05 183721