[Tutor] puzzled by Python 3's print()

Richard D. Moores rdmoores at gmail.com
Thu Jul 1 23:57:52 CEST 2010


On Thu, Jul 1, 2010 at 12:18, Eike Welk <eike.welk at gmx.net> wrote:

> Therefore you should probably use the integer division operator: "//"

>>> x = 200000000000000000000000000000000000000033
>>> x//2
100000000000000000000000000000000000000016

I can live with THAT error!

Thanks, Eike!

But I will press on with Mark's
<http://docs.python.org/py3k/library/string.html#string-formatting>

Dick


More information about the Tutor mailing list