0
I am getting EOFERROR
a1 = input("enter name 1: ") a2 = input("enter name 2: ") a3 = input("enter name 3: ") a4 = input("enter name 4: ") alist = [a1, a2, a3, a4] print(alist)
4 Antworten
+ 7
Please use the search bar!
https://www.sololearn.com/post/664632/?ref=app
https://www.sololearn.com/discuss/721608/?ref=app
https://www.sololearn.com/discuss/2560531/?ref=app
https://www.sololearn.com/Discuss/2188504/?ref=app
https://www.sololearn.com/discuss/2450204/?ref=app
https://www.sololearn.com/discuss/2334584/?ref=app
https://www.sololearn.com/discuss/630084/?ref=app
+ 3
In the playground when you click run an input dialog pops up. You need to enter ALL inputs for the entire duration of your programs runtime in this dialog. Place each separate input on a new line like;
Adam
John
Sam
Sally
Then click submit
+ 2
On sololearn you can provide input only at start, so with your program you should provide 4 lines of input at start (similar to how it would go with input redirected to a file)
+ 2
Thank you everyone for helping me out