Dec-07-2018, 06:41 PM
You replied before I could. Python2's division kept the type, so an int divided by an int produced an int result. Python3 "fixed" that, by always having division give float results.
You should look into using python3, python2 has just slightly more than a year of bugfixes left, before it's abandoned: https://pythonclock.org/
You should look into using python3, python2 has just slightly more than a year of bugfixes left, before it's abandoned: https://pythonclock.org/