If you really want to try and see which language concatenates in fewer characters, beat this: array += foo
Shorter than Perl's push(). And, yes the append() list method does accept a list (but appends it as the _last element_ in the list to which you're appending), but you wouldn't know that because you don't know Python, but decided your input was worthy anyway.
Stop it already.
In reply to Re: Re: Re: Re: Re: Re: Perl vs. Python: Looking at the Code
by mothra
in thread Perl vs. Python: Looking at the Code
by mothra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |