A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/086726.html below:

using lambda to print everything in a list

using lambda to print everything in a list using lambda to print everything in a listRemco Gerlich scarblac at pino.selwerd.nl
Sun Apr 29 03:42:40 EDT 2001
Bjorn Pettersen <BPettersen at NAREX.com> wrote in comp.lang.python:
> or
> 
> 	def write(x):
> 	   print x
> 
> 	map(lambda x: write(x), ['line one', 'line two'])

Argh. We need UUOL (Useless Use Of Lambda) awards.

-- 
Remco Gerlich

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4