method


method는 데이터에 결합된 function

ex)

name = 'james'
print(name.endswith('s'))

함수가 데이터와 결합되어 있다면 method라고 부르고, 그렇지 않다면 함수라고 부른다.

자료구조 종류


Lists

Tuples

Dicts

응용


method, 자료구조, 반복문을 이용한 웹사이트 요청 보내기