Dividing integers...Convert to float first?

Simon Brunning simon at brunningonline.net
Fri Jan 5 18:58:42 CET 2007


On 1/5/07, Grant Edwards <grante at visi.com> wrote:
>    >>> from __future__ import LotteryNumbers
>      File "<stdin>", line 1
>    SyntaxError: future feature LotteryNumbers is not defined
>
> Damn.
>
> I guess it's back to work then.

Remember the PEP 8 module name standards.

>>> from __future__ import lottery_numbers
[1, 16, 19, 20, 21, 39]

-- 
Cheers,
Simon B
simon at brunningonline.net



More information about the Python-list mailing list