+ 1

How can I get some lines as input in python?

for example the input is: 5 sara sara ali ali fatima fatima how can I get them as input?

13th Oct 2017, 1:14 PM
Fatima
Fatima - avatar
1 Odpowiedź
+ 1
Usually Python interprets pressing Enter button as EOL. Hence, you can input into a list or a Tuple and unpack it, but as far as I know it's not possible to enter an input using the Enter button in it. Hope this helps! :)
13th Oct 2017, 2:32 PM
Shinjini Ghosh