Python menghapus tombol dikte jika ada
mydict.pop("key", None)
Nutty Narwhal
mydict.pop("key", None)
my_dict.pop('key', None)