python강의 — 함수 인자(파라미터) positional argument, keyword arguments

동영상 by 한대희@마이캠퍼스

내 자신의 함수를 정의할 때 대부분의 함수 인자(argument, parameter)도 같이 포함하게 됩니다.

함수 인자 종류에는 positional argument와 keyword argument가 있습니다.

이 둘의 차이점과 사용법을 설명합니다. 또한 사용시의 주의점을 설명합니다.

이 강의를 이해하고 나면 내 자신의 함수를 정의할 때 좀더 고급 수준의 기능을 구현할 수 있습니다.

예를들면 함수 인자의 개수를 고정하지 않고 가변적으로 하고 싶을 때의 구현 방법을 배울 수 있습니다.

강의 자료 소스코드: https://colab.research.google.com/drive/1igNoczH0bFYHQqCXZF5yRY_nVpHuoD8-?usp=sharing

--

--

python과 딥러닝의 시작 — 마이캠퍼스

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store