Movatterモバイル変換


[0]ホーム

URL:


using lambda to print everything in a list

Remco Gerlichscarblac 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-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp