Guest User

Untitled

a guest
May 24th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #List : [] 대괄호 안에 데이터를 집어넣는다. Mutable(수정가능)하다.
  2. #Tuple : () 소괄호 안에 데이터를 넣는다. Immutable(수정불가능)하다.
  3. #따라서 두 개 이상의 변수를 설정할 때 comma로 연결한다면 tuple의 개념으로 설정하게 된다.
  4. #Tuple의 값을 수정하고 싶다면 list(tuple)의 함수로 변환한 후 수정하면 된다.
Add Comment
Please, Sign In to add comment