+ 1
how do i obtain multiple user inputs in python
3 Respuestas
+ 2
inputs = []
while len(inputs) == 0 or inputs[-1]:
inputs.append(input('? '))
inputs = inputs[0:-1]
print(inputs)
# stop when user give an empty entry ^^
+ 1
Just not in the code Playground. You need another Python shell
0
a = input()
b = input()
c = input()
...
You got the idea