Explanation of this Python language feature? [x for x in x for x in x] (to flatten a nested list)

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Mar 29 11:45:39 EDT 2014


On 29/03/2014 08:21, Mark H Harris wrote:
>
>     Yes. Well, as the joke goes, if you're trilingual you speak three
> languages, if you're bilingual you speak two languages, if you're
> monolingual you're an American (well, that might go for Australia too,
> maybe). When whole continents speak the same language that tends to happen.

You mean like the USA, where I saw an ad in a shop for a bilingual shop 
assistant?  Or is Spanish so like US English it doesn't count as a 
separate language?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com





More information about the Python-list mailing list