[Tutor] Percentage
Pujo Aji
ajikoe at gmail.com
Mon Nov 7 16:05:14 CET 2005
nice syntax.....
Cheers,
pujo
On 07 Nov 2005 12:18:44 -0200, Jorge Godoy <godoy at ieee.org> wrote:
>
> Pujo Aji <ajikoe at gmail.com> writes:
>
> > don't forget to use dot or converge into float.
>
> Or import division from __future__.
>
> >>> from __future__ import division
> >>> 42 / 250
> 0.16800000000000001
> >>>
>
> --
> Jorge Godoy <godoy at ieee.org>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20051107/c033c9be/attachment.html
More information about the Tutor
mailing list