Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- DATAPATH
- Pipelining
- Java
- MacOS
- CSS
- web
- MIPS
- data structure
- DS
- control
- mysql
- computer
- php
- for
- Linux
- while
- architecture
- XML
- Algorithm
- Class
- DB
- system
- github
- instruction
- html
- react
- python
- function
- javascript
- DoM
Archives
- Today
- Total
목록or (1)
YYYEJI
[Python] AND, OR 연산하기
AND AND는 두 개의 조건이 있을 때 두 조건이 모두 참이여야지만 True입니다. Condition 1 Condition 2 Result False Flase False True False False False True False True True True OR OR은 두 개의 조건이 있을 때 한 조건만 참이면 결과가 True가 됩니다. Condition 1 Condition 2 Result False False False True False True False True True True True True 파이썬에서는 AND와 OR을 이렇게 사용할 수 있습니다. print("0 and 0: ", 0 and 0) print("1 and 0: ", 1 and 0) print("1 and 1: ", 1 a..
Python
2022. 9. 24. 15:21