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

terminate_id = tokens.index('<end>') ---- ValueError: '<end>' is not in list #15

Open
Shanzaay opened this issue Oct 23, 2019 · 4 comments

Comments

@Shanzaay
Copy link

Shanzaay commented Oct 23, 2019

Hi. While executing the test.py file. I am getting the following error.

terminate_id = tokens.index('')
ValueError: '' is not in list

Any idea how to resolve this. because the end is actually on the list. Yet I am getting this error.

@shardul2903
Copy link

Hey, did you resolve this issue? I'm getting the same error

@Shanzaay
Copy link
Author

no, I wasn't. The code seem to have lot of problems.

@Shanzaay
Copy link
Author

But here i changed it somehow in python 3.7 and it seems to run and give somewhat fine result.
https://drive.google.com/open?id=1RhYWPHbFahKxZC6mJm6Hld1ozySvFucj

@shardul2903
Copy link

Okay. Thanks

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

2 participants