Answers for "append item to python dictionary"

0

append item to python dictionary

Details = {}
Details["Age"] = [20]
print(Details)
  
if "Age" in Details:
    Details["Age"].append("Twenty")
    print(Details)
Posted by: Guest on October-30-2021

Code answers related to "append item to python dictionary"

Browse Popular Code Answers by Language