Python관련/Python
[Python] 09. 함수
Lucifer_D
2019. 3. 14. 13:39
반응형
함수
01. 함수선언
def 함수명():
print("함수테스트")
def 함수명(A,B):
print("{A}{B}".format(A=A,B=B))
02. 함수호출
함수명만 호출하면 된다.
함수명()
함수명("TEST1","TEST2")
반응형