Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 2.1 Missing brackets p41 #251

Open
ValdanCS opened this issue Jul 20, 2021 · 0 comments
Open

Chapter 2.1 Missing brackets p41 #251

ValdanCS opened this issue Jul 20, 2021 · 0 comments

Comments

@ValdanCS
Copy link

Unable to run the below code due to missing brackets after print command.

print int(num_chars/num_words), int(num_words/num_sents), int(num_words/num_vocab), fileid

Correct version:
print (int(num_chars/num_words), int(num_words/num_sents), int(num_words/num_vocab), fileid)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant