if you prefix number with zero, it will turn into octal number... I
too wasn't aware of it... at least in python :/
http://en.wikipedia.org/wiki/Octal
It seems like bad practice to put zeroes before any decimal number in
any language :)
Juraj
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 20 Aug 2009 03:24:15 -0700, baalu aanand wrote:
> Hi,
>
> I have used both raw_input() and input() for a same input value.
> But these gives different output.
>
> I have listed below what actually I have done
>
> >>> a = raw_input("===>")
>===>
On Thu, Aug 20, 2009 at 3:24 AM, baalu aanand wrote:
> Hi,
>
> I have used both raw_input() and input() for a same input value.
> But these gives different output.
>
> I have listed below what actually I have done
>
> >>> a = raw_input("===>")
> ===> 023
>