Answers for "how to add list toa key in ict"

0

how to add list toa key in ict

a_dict = {}


if "a" in a_dict:

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

print(a_dict)
Posted by: Guest on June-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language