+ 1
How to accept multiline input from a user?
I searched but couldn't find what I need
6 ответов
+ 5
x, y = input().split()
+ 4
Guess the number is not possible on Sololearn
+ 3
you need to give the input in multiple lines with space or new line, like this "input1 input2" or
input1
input2
it's better to use that of the seçond
+ 2
✳AsterisK✳ so I have to actually give more than one input instead of one input with multiple line typing allowance?
+ 2
Alexandr I tried it and it worked but what if I want to prompt the user, like 'Enter your name: ' for example?
Do I have to use a module for such a thing?
+ 1
Alexandr Thank you!