OT: Python (Was: Re: OT: Need help with numeric bases)
From: | H. S. Teoh <hsteoh@...> |
Date: | Tuesday, February 25, 2003, 2:05 |
On Tue, Feb 25, 2003 at 12:24:49PM +1100, Tristan wrote:
> On Tue, 2003-02-25 at 12:14, H. S. Teoh wrote:
> > #!/usr/bin/perl
> > map{$acc=$acc*8+$_;}split//,$ARGV[0];print"$acc\n";
> >
> >
> > The corresponding human-readable version would be:
>
> (Off-topic)
>
> And this is why I like Python coders. You don't get the non-human
> readable option.
[snip]
No wonder the machine has a hard time understanding it...
:-P
T
--
Ph.D. = Permanent head Damage