n+len(str(n))+sum([int(i)for i in str(n)]if(n>=0)else[int(str(n)[:2])]+[int(i)for i in str(n)[2:]])
-123
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 1, in <module> NameError: name 'n' is not defined
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!