Dividing integers...Convert to float first?

rzed rzantow at gmail.com
Sun Feb 4 12:37:05 EST 2007


"Simon Brunning" <simon at brunningonline.net> wrote in 
news:mailman.2339.1168019925.32031.python-list at python.org:

> 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]
> 

My Python version is so old that I only get three numbers. I guess 
I'll have to upgrade.

-- 
rzed



More information about the Python-list mailing list