dictionary 선언 관련 질문입니다
77
작성한 질문수 0
삭제된 글입니다
답변 1
0
문자열 입니다.
다만 파이썬 딕셔너리의 키 타입은 숫자도 지원하므로 편하신대로 사용하시면 됩니다.
Another useful data type built into Python is the dictionary (see Mapping Types — dict). Dictionaries are sometimes found in other languages as “associative memories” or “associative arrays”. Unlike sequences, which are indexed by a range of numbers, dictionaries are indexed by keys, which can be any immutable type; strings and numbers can always be keys. Tuples can be used as keys if they contain only strings, numbers, or tuples; if a tuple contains any mutable object either directly or indirectly, it cannot be used as a key. You can’t use lists as keys, since lists can be modified in place using index assignments, slice assignments, or methods like append() and extend().
인스턴스 변수 문의
0
29
1
챕터 03_04 (튜플) 교육자료
0
28
2
Package(3-1) Sub 폴더 자료
0
35
1
아톰 출력 안됨
0
61
2
강의자료 메일 발송 요청 드립니다.
0
71
1
강의자료 메일로 보내주실 수 있으실까요?
1
48
0
Iterable 요소는 리스트로 작성해야하는 것 맞나요?
1
73
2
강의자료 부탁드립니다
0
57
2
if Flase: print('Bad')
0
57
1
=와 == 의 차이
0
74
1
functions 함수 섭들을려고하는데요
0
65
1
강의자료 부타드리겠습니다!
0
56
0
VSCODE에 VIEW에서 SELECTED INTERPRETER조회가 안됩니다.
0
65
1
강의자료 부탁드립니다.
0
50
0
dict의 Key를 바꾸는 방법
0
61
1
강의자료부탁드립니다
0
59
1
run withount 디버깅 및 F5+ctrl이 안먹혀요
0
58
1
강의 자료와 예정 다운로드
0
72
2
객체지향 vs 함수형
0
56
1
어렵네요 설정도
0
68
1
설정이 잘 된건지
0
49
1
맥 os vscode 설정 - python interpreter select
0
99
1
강의자료 부탁드립니다. mytoughgirl@naver.com 입니다.
0
43
1
vscode로 수업 진행한 영상은 없는건가요?
0
55
2





