online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
lst = ['b-3', 'a-2', 'c-4', 'd-2'] def xform(l): return list(map(lambda x: x[1] + '-' + x[0], list(map(lambda x: x.split('-'), lst)))) lst = sorted(xform(lst)) print(xform(lst))

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue