Hapus kunci dari array python
a_dict = {"color": "blue", "fruit": "apple", "pet": "dog"}
[value for key, value in a_dict.items()]
>>> ['blue', 'apple', 'dog']
Ava
a_dict = {"color": "blue", "fruit": "apple", "pet": "dog"}
[value for key, value in a_dict.items()]
>>> ['blue', 'apple', 'dog']