[Tutor] Need help with binary notation

Lloyd Hugh Allen lha2@columbia.edu
Thu, 20 Jun 2002 08:28:43 -0400


Oops. Thanks.

ibraheem umaru-mohammed wrote:
> 
> [Lloyd Hugh Allen wrote...]
> -|
> -| So if you have to translate from binary to decimal, that's easy--
> -|
> -| 1001101 is 2**0 + 2**2 + 2**3 + 2**7 (reading from right to left)
> -|
> 
> I believe this should be:
> 
>         1001101 = 2**0 + 2**2 + 2**3 + 2**6
>                                           ^
> Kindest regards,
> 
>                         --ibs.
> --
>                         ibraheem umaru-mohammed
>                            www.micromuse.com
>                                  --0--
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor