Build an Employee Profile Validator - Step 7

Tell us what’s happening:
Describe your issue in detail here.

constantly telling me to assign sarah davis to the variable which i did even with the spaces still its not checking the criteria.

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  '
print(f'Original name: {messy_name}')

Your mobile information:

android BP2A.250605.031.A3.X216BXXSBEZBD

Challenge: Build an Employee Profile Validator - Step 7

Link to the challenge:

Welcome to the forum @Vastness,

Since messy_name needs to be enclosed in single quotes, what type of quote should you use for your f-string?

Happy coding

Lowk spell it out for me, the output in console is also same as the required one.

This, from the console:

Original name:   sARaH dAVis

is not the same as this from your code:

Original name: '  sARaH dAVis  '