+ 1
How can a user input several values at once? (Python)
3 Réponses
+ 4
You could use a loop to get the values then save it to a list
+ 1
inputs=[]
inputscount= 6
for i in range(inputscount):
l.append(input())
0
A simple decision, but won't it look a bit strange? I mean won't it be like
"Enter value: 50
Enter value: 50,1
Enter value: 50,2
Enter value: 50,3"
And so on. Or I didn't get it right?