20210107_ Python 입문5, 함수,*args,**kwargs, parameter hint, lambda
Python 입문 05, 함수,args,*kwargs, parameter hint, lambda Python 함수 정의 및 lambda(람다) 사용 1. 함수 반복적, 중복 프로그래밍을 피할수 있음 1) 함수 정의(선언) 방법 구조 def 함수명(매개변수parameter): code 리턴값이 없는 함수 def hello(world): print("hello", world) hello("python!") # world 만 붙여 출력만 하는 함수라서 값이 지정 되어 있지 않아 type()로 데이터 형식 확인 안됨 리턴값이 있는 함수 def hello_return(world): v = "hello" + str(world) return v print(hello_return("python!!!")) print(t..
Dev/Python
2021. 1. 7. 20:35
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- nrc
- Git
- Python
- object
- 바닐라js
- 생활코딩
- Class
- instagram CSS
- 트위터 클론
- NomadCoder
- 드림코딩
- TypeScirpt
- React
- Firebase
- 그림판 만들기
- RUBY
- html
- redux-toolkit
- github
- project
- JavaScript
- 기능추가
- nodejs
- todolist
- css
- hooks
- 오버라이딩
- async
- Django
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함