Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add list toa key in ict

a_dict = {}


if "a" in a_dict:

  a_dict["a"].append("kite")

print(a_dict)
 
PREVIOUS NEXT
Tagged: #add #list #toa #key #ict
ADD COMMENT
Topic
Name
5+6 =