+ 1

How accept input in python?

how can I take multiple inputs from a user and place them in an array??? Thanks for the help in advance

18th Jan 2017, 6:16 PM
naresh motiani
naresh motiani - avatar
2 Respuestas
+ 2
x = [] for i in range (0,10) x.append(input("What to add?"))
18th Jan 2017, 6:32 PM
Will_De
Will_De - avatar
+ 1
use loop for get multiple inputs.
18th Jan 2017, 6:25 PM
alireza shokri
alireza shokri - avatar