Cross-language comparison: function map and similar

Steve D'Aprano steve+python at pearwood.info
Wed Aug 16 11:40:53 EDT 2017


On Thu, 17 Aug 2017 12:53 am, Steve D'Aprano wrote:

> map(chr, [65, 66, 67, 68])
> 
> will return ['A', 'B', 'C'].

Of course I meant ['A', 'B', 'C', 'D'].




-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list