You are viewing a single comment's thread. Return to all comments →
can you explain this print(*sorted(input(), key=lambda c: (-ord(c) >> 5, c in '02468', c)), sep='')
Seems like cookies are disabled on this browser, please enable them to open this website
ginortS
You are viewing a single comment's thread. Return to all comments →
can you explain this print(*sorted(input(), key=lambda c: (-ord(c) >> 5, c in '02468', c)), sep='')