I have an input in this format
[email protected]
[email protected]
[email protected]
So I want to get this input from user so when I get the input by:
emails = input("Provide emails")
User just could copy and paste the whole lists of email given one under one, seperarted by new line into this variable so then I can use .splitlines() to get the e-mail to seperate spaces so I can use them for something. For whatever reason it doesn't want to accept such input, when I try to give as little as two e-mail, one after the other, seperated by new line. I get following error
Provide [email protected]
[email protected]
[email protected]
>
> [email protected]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'someemailadress' is not defined
why is happening?