Skip to content

Instantly share code, notes, and snippets.

@glickmac
Created December 17, 2019 20:20
Show Gist options
  • Save glickmac/dfa05bb43d262b688e424a6e53a56faf to your computer and use it in GitHub Desktop.
Save glickmac/dfa05bb43d262b688e424a6e53a56faf to your computer and use it in GitHub Desktop.
## Print sentiments of chapters
count = 1
for item in Chapters:
print("Sentiment of Chapter " + str(count) + ": " + "{0:.3g}".format(Chapter_Sentiment(item)))
count += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment