Study_IT
분류 전체보기
(267)
Web
(16)
Vulnerability
(2)
Develop
(11)
Technical
(3)
Server
(4)
Language
(70)
Python
(15)
Algorithm
(1)
C, C++
(54)
Security & Hacking
(82)
Wargame
(68)
Tool
(1)
CTF Write Up
(5)
Technical & etc.
(7)
Project H4C Study Group
(86)
AI
(6)
파이썬으로 배우는 인공지능
(1)
홈
태그
미디어로그
위치로그
방명록
튜플(Tuple)
2019. 1. 31. 23:47
튜플은 ( )소괄호로 생성 할 수 있다.
한 번 생성하면 값을 바꿀 수 없다.
1
2
3
tu
=
(
1
,
2
,
3
)
print
(tu)
# 출력값 : (1, 2, 3)
cs
튜플을 생성할 때는 괄호를 생략할 수 있다.
1
2
3
tu
=
1
,
2
,
3
print
(tu)
# 출력값 : (1, 2, 3)
cs
공유하기
게시글 관리
Study_IT
'
Language
>
Python
' 카테고리의 다른 글
집합(Set)
(0)
2019.02.03
딕셔너리(Dictionary)
(0)
2019.02.03
리스트 관련 함수
(0)
2019.01.31
리스트(List)
(0)
2019.01.30
포매팅
(0)
2019.01.30
+ Recent posts
Powered by
Tistory
, Designed by
wallel
Rss Feed
and
Twitter
,
Facebook
,
Youtube
,
Google+
티스토리툴바