---
title: "Discussion on \"2020년 2학기 3차 파이썬 수업 정리\" | Hashnode"
description: "Discussion on \"2020년 2학기 3차 파이썬 수업 정리\". 오늘 수업에 사용된 코드는 Github에 업로드했습니다.\n오늘 다룬 내용들은\n\n이터레이터\n람다 함수\nlist 초기화\ndict 생성 방법\n클래스 상속\n클래스의 특수 메소드\nIterator 구현 및 yield\n\n입니다.\n이터레이터\n파이썬에서 for문을 사용하려면 in의 오른쪽에 오는 식이 이터레이터여야합니다.\nprint('List')\nl = [1, 3, 5, 7, 9]\n\n# l: 배열, for문이 작동하는 건 l이 이터레이터\n# (배열이 이터레이터..."
url: "https://hashnode.com/posts/2020-12-27-python-3/6629147a3ba0ef9f8ab7193a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [2020년 2학기 3차 파이썬 수업 정리](https://kdy1.dev/2020-12-27-python-3?utm_source=hashnode&utm_medium=feed)

오늘 수업에 사용된 코드는 Github에 업로드했습니다. 오늘 다룬 내용들은 이터레이터 람다 함수 list 초기화 dict 생성 방법 클래스 상속 클래스의 특수 메소드 Iterator 구현 및 yield 입니다. 이터레이터 파이썬에서 for문을 사용하려면 in의 오른쪽에 오는 식이 이터레이터여야합니다. print('List') l = \[1, 3, 5, 7, 9\] # l: 배열, for문이 작동하는 건 l이 이터레이터 # (배열이 이터레이터...

Dec 27, 2020 · 6 min read · kdy1.dev  
Read the article

## Written by

[DongYun Kang](https://hashnode.com/@kdy1)

@kdy1 · South Korea

  
[View profile](https://hashnode.com/@kdy1)

Creator of SWC

CEO of Delino. I created SWC, an open-source compiler project, and previously worked at Deno and Vercel.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
