Hello,
If I type [1,2] into Python, it'll return [1, 2].
How to make it return [1,2], without that space?
I need to convert my results into strings (for example, str([1,2])), but I don't want extra spaces. Of course, I have a small function that may delete the spaces, but when my result is a very-very long list, and it is then converted to a string, the functoion loses a lot of time just trying to strip the string from the unnecessary spaces!
I'd like to somehow generate the List without spaces from the very beginning.
Does anybody know an answer to this?
Thank you.
Arteum