I am writing a program which is like an email validator, the user enters their email and then the program checks it has the necessary components. I have to check it contains an @ sign. I want to split the email character by character and put it into a list so that I can loop through the list to get the email.
I currently have this:
email=input('Please enter your email address: ')
mylist=[]
mylist(email)
for i in mylist:
if i != '@':
at=True
print('Your email is invalid because it does not contains an @ sign.')