Build an Employee Profile Validator - Step 7

Tell us what’s happening:

I dont understand what i need to do i dont understand what they mean with sign the string sARaH dAVis with two leading spaces and two trailing spaces.

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}')
messy_name = "sARaH dAVis"
# User Editable Region
print(f"Original name:  '  {messy_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/153.0.0.0 Safari/537.36 OPR/137.0.0.0 (Edition std-2)

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

Welcome to the forum @jenslyn15,

You are asked to assign ‘sARaH dAVis’ to messy_name with two leading spaces and two trailing spaces. But you have not included those spaces between the quotes in the value you assigned.

Then you are asked to print messy_name surrounded by single quotes so you can see the spaces in the output. But you included the spaces in the print rather than the variable assignment.

Happy coding