Python 3.7
CCERocks opened this issue · 2 comments
CCERocks commented
Hi there.. its seem Python 2 will be dead on Jan 2020.. any tweak for this code to be run on Python 37 ?
LingDong- commented
I just tweaked the code so it runs for both python2 and python3.
See commit: 2cfeb04
Mostly just adding parentheses around print statements and using //
for integer division.
Tested a bit on python 2.7.15 and 3.7.4, and everything seems to work.
If you find any problems please let me know.
Thanks
CCERocks commented
lol.. im putting ( ) when following the error.. but then there is more to that..
thank you very much for the code.