count = {}
keywords = [
"인공지능", "파이썬", "로봇", "코딩", "인공지능",
"메타버스", "파이썬", "코딩", "인공지능", "자율주행",
"파이썬", "로봇", "코딩", "자율주행", "인공지능",
"아두이노", "로봇", "인공지능", "코딩", "자율주행",
"파이썬", "인공지능", "아두이노", "코딩", "데이터",
"인공지능", "로봇", "데이터", "파이썬", "자율주행"
]
for name in keywords:
if name in count:
count[name] += 1
else:
count[name] = 1
sorted_count = sorted(count.items(),key = lambda x:x[1],reverse = True)
top3 = sorted_count[:3]
rank = 1
for name,counts in top3:
print(rank,name,counts)
rank += 1
To embed this project on your website, copy the following code and paste it into your website's HTML: