| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- keras
- Numpy
- 삼성소프트웨어멤버십
- GitHub
- CNN
- E-P1
- pandas
- RNN
- index
- Series
- ipad
- DFS
- pycharm
- pip
- install
- Splunk
- mean
- javascript
- imread
- 알고리즘
- SciPy
- Button
- SPL
- Lotto
- synology
- mariadb
- Python
- GT-S80
- LSTM
- dataframe
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