티스토리 뷰
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
def 로 선언 , : 으로 끝내기
def <함수명>(인수1,인수2,… 인수N):
<구문>
return <반환값>
>>> def multiply(a,b):
return a*b
>>> multiply
<function multiply at 0x00B00108>
>>> multiply(3,3)
9
'Python' 카테고리의 다른 글
Python, 함수_스코핑룰 (0) | 2016.04.21 |
---|---|
Python, 함수_인수 전달 (0) | 2016.04.21 |
Python, 복사 (0) | 2016.04.21 |
Python, 부울 (0) | 2016.04.21 |
Python, 사전(Dictionary) (0) | 2016.04.21 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- indicatoron
- command
- 폼
- highlightbackground
- Excel
- Java
- 리눅스
- checkbutton
- borderwidth
- FetchType
- IdClass
- activebackground
- Linux
- fetch join
- vba
- 상수
- activeforeground
- Python
- onetomany
- tkinter
- apache
- tkinter command & bind [명령어묶기와 사건묶기] Python
- highlightthickness
- JPA
- disabledforeground
- Private
- 파이썬
- ManyToOne
- Module
- Composite Key
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함