SyntaxFix
Write A Post
Hire A Developer
Questions
l=['a', 1, 'b', 2] print str(l)[1:-1] Output: "'a', 1, 'b', 2"