-
-
Save amankharwal/c4cca11ce1fdb8cf7f8c8602f26bff03 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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