I really like your Code! Thanks a lot for your work!
Anyway, I started a small project and tried to use your code with Python3 which didn't work due to some datatype and syntax changes from Python2 to Python3.
The function long() works only with type str in the brackets in Python3. Plus, all integers now have unlimited precision which made me use int() instead of long().
print requires brackets in Python3 also. Which means: print str had to be changed to print(str).
If you have any more ideas how to improve the Code for Python 3 I'd really appreciate it!
Hi,
I really like your Code! Thanks a lot for your work! Anyway, I started a small project and tried to use your code with Python3 which didn't work due to some datatype and syntax changes from Python2 to Python3. The function long() works only with type str in the brackets in Python3. Plus, all integers now have unlimited precision which made me use int() instead of long(). print requires brackets in Python3 also. Which means: print str had to be changed to print(str).
If you have any more ideas how to improve the Code for Python 3 I'd really appreciate it!
Thanks a lot again for your work.
Cheers!