online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
def sum_dictionary_items(d): total_sum = sum(d.values()) return total_sum # Example usage my_dict = {'a': 100, 'b': 200, 'c': 300} print("Sum of all items in the dictionary:", sum_dictionary_items(my_dict))

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