how can I remove this thing -_- | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how can I remove this thing -_-

how can I remove "[" and "," from result a = list(range(10)) print(a)

22nd Jan 2017, 1:50 PM
Elite
Elite - avatar
6 Answers
+ 1
Numbers without space - it is one number. You can recive "0123456789" or "0 1 2 3 4 5 6 7 8 9". But not 0123456789 becouse it is not a number.Actually u can't even print a number, IT IS IMPOSSIBLE!
22nd Jan 2017, 2:01 PM
Leshark
Leshark - avatar
0
What do u want to recive at the end? String numbers with spaces?
22nd Jan 2017, 1:57 PM
Leshark
Leshark - avatar
0
numbers without space
22nd Jan 2017, 1:58 PM
Elite
Elite - avatar
0
ok so the space one :)
22nd Jan 2017, 2:04 PM
Elite
Elite - avatar
0
thank u so much
22nd Jan 2017, 2:10 PM
Elite
Elite - avatar