#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목[class 함수] 관련 질문2022-05-26 13:16
작성자

def __init__(self, a, b) 와 같이 메서드의 매개변수를 a,b만 가져왔는데도 

메서드의 수행문을 작성하는데 있어서 매게변수 외의 수행문을 실행시킬 수 있는 이유가 궁금합니다.


ex) def __init__ (self,a):

self.blahblah = a

댓글
이전[re]class 함수 구현하는 과정에서 2022-05-28
다음[re][class 함수] 관련 질문2022-05-26