일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 설치
- TensorFlow
- Network
- linux
- Visual Intelligence
- 리눅스
- centOS
- 시퀸스 자료형
- Python
- 칼리
- ML
- representation learning
- Language Intelligence
- server
- 운영체제
- vue
- Machine Learning
- 선형회귀
- 가상머신
- python 설치
- xshell
- 설정
- 머신러닝
- Kali
- vuejs
- Python 기초
- Windows
- 관리
- 텐서플로우
- vmware
Archives
- Today
- Total
목록연산자 (1)
homebody's blog
[Python] Python 기초 - 2(연산자, 형변환)
연산자 산술 연산자 Python에서는 기본적인 사칙연산이 가능하다. print(5/2) # 정수/정수는 실수형 print(5//2) print(5%2) print(2**1000) print(divmod(5,3)) # 몫과 나머지를 반환 양수/음수도 표현 가능 a = 5 print(-a) 비교 연산자 우리가 수학에서 배운 연산자와 동일하게 값을 비교할 수 있다. 반환값으로 bool변수 True, False를 반환해준다. 논리 연산자 우리가 보통 알고 있는 &, |은 파이썬에서 비트 연산자이다. print(True and True) print(True and False) print(False and True) print(False and False) print(True or True) print(True o..
Python
2019. 6. 29. 21:41