Closed imgarylai closed 5 years ago
That doesn't actually make sense since i is overwritten immediately by enumerate. However you may be right that counter might not longer be used in the current version. Will kill the PR but try to clean this section to remove the counter = 0 line.
Thanks for your time and reviewing this less important issue.
You're right. The i
is overwritten by the enumerate and that's what I thought. I created this pull request because I didn't know why I got the error message showing the i
was not defined. And, I thought the variable counter
probably had the same meaning of the i
. I should have reviewed it again.
Unfortunately, the strange thing is I can not duplicate this situation again. The code perfect on my machine now. That's the more important thing!
Again, I really appreciate your awesome works!
Best,
fix variable naming. counter should be renamed as i.