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: