0

Lists

how do take an input list from a user but in the following way List: 1 2 3 4 5 I mean this way and not the regular way List: 1 2 3 4 Programing language python

23rd Jul 2020, 7:34 AM
Avishai Feuer
6 Respuestas
+ 7
mylist =[input() for _ in range(5)]
23rd Jul 2020, 7:52 AM
Oma Falk
Oma Falk - avatar
+ 6
Avishai Feuer please add one tag to let them now, it is python 😉
23rd Jul 2020, 7:54 AM
Oma Falk
Oma Falk - avatar
+ 1
without the number of elements inside the range thats my problam i want to do what i posted without knowing before the number if elements
24th Jul 2020, 4:32 AM
Avishai Feuer
0
What language?
23rd Jul 2020, 7:36 AM
Jay Gilbert Garzon
Jay Gilbert Garzon - avatar
0
Please link your attempt.
23rd Jul 2020, 7:48 AM
JaScript
JaScript - avatar