fruits = ["사과", "바나나", "포도", "사과", "딸기", "바나나", "사과", "포도", "키위", "포도"] f = set(fruits) print(f) for i in fruits: num =fruits.count(i) print(num)
To embed this project on your website, copy the following code and paste it into your website's HTML: