Python Supprimer l'attribut du dict

a_json = {"attr1":"value1"}
a_json["attr2"] = 0.75
del a_json["attr2"]

print(a_json)
Karamolegkos