online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
def add_to_dictionary(dictionary, key, value): # Adding a new key-value pair to the dictionary dictionary[key] = value def main(): # Existing dictionary my_dict = {'a': 1, 'b': 2, 'c': 3} # Key-value pair to add new_key = 'd' new_value = 4 # Adding new key-value pair to the dictionary add_to_dictionary(my_dict, new_key, new_value) # Printing the updated dictionary print("Updated Dictionary:", my_dict) if __name__ == "__main__": main()

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