일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- server
- Visual Intelligence
- vue
- 리눅스
- 선형회귀
- ML
- centOS
- Python 기초
- 시퀸스 자료형
- 머신러닝
- 설정
- TensorFlow
- representation learning
- Machine Learning
- vmware
- Kali
- xshell
- 칼리
- 텐서플로우
- 가상머신
- vuejs
- 관리
- Windows
- Network
- 설치
- python 설치
- linux
- 운영체제
- Language Intelligence
- Python
Archives
- Today
- Total
목록set (1)
homebody's blog
[Python] Python 기초 - 4(set, dictionary)
set(집합) a = {value1, value2, value3} set은 기본적으로 순서가 없다. set는 수학에서의 집합과 동일하게 처리된다. set는 중괄호{}를 통해 만들며, 순서가 없고 중복된 값이 있으면 1개만 저장된다. set_a = {1,2,3} set_b = {3,6,9} print(set_a - set_b) print(set_a | set_b) print(set_a & set_b) # 중복된 값 없애기 l = [1,2,3,1,2,3,4,1,5,1] l = list(set(l)) print(l) dictionary(딕셔너리) a = {Key1:Value1, Key2:Value2, Key3:Value3, ...} 딕셔너리는 key와 value가 쌍으로 이뤄져있으며, key는 value를 찾..
Python
2019. 7. 1. 10:25