Multiple inputs to list.
Hello, I wanted to solve one challange by putting multiple inputs given by Sololearn straight to list, but I couldn't figure it out. Of course, if you know number of inputs you could do it manually: i1=input() i2=input() ... in=input () And then put it manually to list list=[i1,i2,....,in] But it won't work if number of inputs is unknown, or there are so many inputs that it's pointless. I thought that I could do something like: list=input().split("\n") But it's not one input in multiple lines, it's multiple inputs. I thought maybe list= While input()==True: list.append(input()) But of course it doesn't work. (If someone could explain why it would be great as well) It must be some simple way but I can't figure it out.