I am new to Python. So I am stuck with this issue which I think shouldn't happen if I use Python 3.
I have a list a with (1,2,3,4,5,6). I want to print it out in 123456 form (without any space). So I wrote this code:
a = [1,2,3,4,5,6]
print(a, sep="")
But I always get this error:
print(a, sep="")
^
SyntaxError: invalid syntax
Can someone help me?