파이썬 튜플
튜플
튜플은 순서가 지정되고 변경할 수 없는 컬렉션 입니다 . Python에서 튜플은 대괄호로 작성됩니다.
예시
튜플 생성:
thistuple = ("apple", "banana", "cherry")
print(thistuple)
튜플은 순서가 지정되고 변경할 수 없는 컬렉션 입니다 . Python에서 튜플은 대괄호로 작성됩니다.
튜플 생성:
thistuple = ("apple", "banana", "cherry")
print(thistuple)