기타[etc]

python lambda

Richong 2017. 3. 5. 17:49
SMALL

[(lambda x : x*x) (x) for x in range(10)]


람다~ 축약함수

for문하고 합치면 편하다.

LIST