How does dictionary in Python turn statistical data into lists
編輯:Python
I will turn the data into dictionary, But I don't know how to take it apart . for instance {apple:2,banana:1} How to turn it into [apple,apple,banana] Thank you for answering questions