Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 3, 2021 07:10
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 ๐Ÿ˜  ")
else:
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