+ 1

How can i get several inputs at a time for one variable ??

11th Jul 2018, 1:35 PM
Ajwaj Aju
Ajwaj Aju - avatar
3 Respuestas
+ 3
>>> inp = input().split() Hello World >>> print(inp) ["Hello", "World"]
11th Jul 2018, 2:28 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 1
It is called a list. Google "python list". On other languages, it's an array.
11th Jul 2018, 1:44 PM
James
James - avatar
+ 1
tnx all
11th Jul 2018, 4:45 PM
Ajwaj Aju
Ajwaj Aju - avatar