Notice
Recent Posts
Recent Comments
Link
목록type (1)
Susan and Data

데이터 타입 [Type] 데이터 타입 예시 숫자 유형 int 정수형 x=20 float 실수형 x=20.5 시퀀스 유형 str 문자열 x="Hello World" list 리스트 x=["apple","banana","cherry"] tuple 튜플 x=("apple","banana","cherry") 맵핑 유형 dict 딕셔너리 x={"name":"John","age":36} 세트 유형 set 집합 x={"apple","banana","cherry"} 불리언 유형 bool 논리형 자료형(True/False) x=true/ x=false * tuple(튜플): 리스트처럼 요소를 일렬로 저장하지만, 안에 저장된 요소를 변경, 추가, 삭제 불가 * dict(딕셔너리): key와 value로 이루어진 사전형 집..
IT/Python
2023. 2. 27. 21:21