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
- instagram CSS
- html
- 생활코딩
- 바닐라js
- Git
- redux-toolkit
- 드림코딩
- JavaScript
- github
- project
- hooks
- NomadCoder
- 오버라이딩
- Firebase
- RUBY
- todolist
- React
- async
- TypeScirpt
- Django
- 기능추가
- nodejs
- 트위터 클론
- 그림판 만들기
- css
- nrc
- object
- Class
- Python
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함