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