일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- Python
- dataframe
- ipad
- Splunk
- Series
- GT-S80
- keras
- Numpy
- pycharm
- imread
- synology
- GitHub
- 삼성소프트웨어멤버십
- pandas
- install
- index
- pip
- mariadb
- DFS
- RNN
- Lotto
- Button
- javascript
- mean
- SciPy
- E-P1
- LSTM
- SPL
- 알고리즘
- CNN
Archives
- Today
- Total
잠토의 잠망경
[Python] if문(조건문) 본문
기본 형태
(참인 경우) if(조건) else (거짓인 경우)
a=10
b=11
result = (a+b) if(a==b) else (a-b) # result =-1
print(result) # -1
Comments