Walter Bright: > The result of / depends on which version of Python you're using: > http://www.python.org/doc/2.2.3/whatsnew/node7.html I have used Python 2.6, and the numbers I have shown you are correct for Python 3.1 too. I don't like how the % behaves in C when there can be negative numbers. Bye, bearophile