Skip to content

Instantly share code, notes, and snippets.

@kipronokoech
Created August 12, 2020 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kipronokoech/cabf250d573ff8c60174defdee3b0fcf to your computer and use it in GitHub Desktop.
Save kipronokoech/cabf250d573ff8c60174defdee3b0fcf to your computer and use it in GitHub Desktop.
#most common words
print("Most Common emojis used (Me)")
common_emojis_me = Counter(myself_emojis).most_common()
common_emojis_her = Counter(mylove_emojis).most_common()
emojis_me = []
count_me = []
for index, item in enumerate(common_emojis_me):
if index == 5:
break
print(item)
emojis_me.append(item[0])
count_me.append(item[1])
print("Most Common emojis used (Her)")
emojis_her = []
count_her = []
for index, item in enumerate(common_emojis_her):
if index == 5:
break
print(item)
emojis_her.append(item[0])
count_her.append(item[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment