파이썬 튜플 메서드
Python에는 튜플에서 사용할 수 있는 두 가지 내장 메서드가 있습니다.
Method | Description |
---|---|
count() | Returns the number of times a specified value occurs in a tuple |
index() | Searches the tuple for a specified value and returns the position of where it was found |
Python Tuples Tutorial 에서 튜플에 대해 자세히 알아보세요 .