MCPcopy Create free account
hub / github.com/geekcomputers/Python / Dictionary

Function Dictionary

Dictionary opperations (input,update a dict).py:6–9  ·  view source on GitHub ↗
(Dict, key, value)

Source from the content-addressed store, hash-verified

4
5
6def Dictionary(Dict, key, value):
7 print("Original dictionary", Dict)
8 Dict[key] = value
9 print("Updated dictionary", Dict)
10
11
12d = eval(input("Enter the dictionary"))

Calls

no outgoing calls

Tested by

no test coverage detected