- 3
Which code may i use if I want to take many integers from user input
.
5 ответов
+ 4
inp = input()
nums = [int(el) for el in inp.split()]
# userinput is eg 3 4 5 6 11 14
+ 3
give us a language🙄
+ 1
You can use a loop to take input again and again and can easily store them in array.
0
Give me a code example