SyntaxFix
Write A Post
Hire A Developer
Questions
I just did this for fun
>>> s = 'a,b,c,d' >>> [item[::-1] for item in s[::-1].split(',', 1)][::-1] ['a,b,c', 'd']
Caution: Refer to the first comment in below where this answer can go wrong.