Skip to content

Instantly share code, notes, and snippets.

Created September 13, 2021 10:11
What would you like to do?
x = sum(data["Positive"])
y = sum(data["Negative"])
z = sum(data["Neutral"])
def sentiment_score(a, b, c):
if (a>b) and (a>c):
print("Positive 😊 ")
elif (b>a) and (b>c):
print("Negative 😠 ")
print("Neutral 🙂 ")
sentiment_score(x, y, z)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment