File tree Expand file tree Collapse file tree 2 files changed +35
-3
lines changed
course_contents/1_intro/notes Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## AND
2
+ - Returns True if both operands are true
3
+
4
+ Example:
5
+
6
+ | Statement | Result |
7
+ | ------------- | ---------- |
8
+ | ` True and True ` | ` True ` |
9
+ | ` True and False ` | ` False ` |
10
+ | ` False and False ` | ` False ` |
11
+ | ` False and True ` | ` False ` |
12
+
13
+
14
+ ## OR
15
+ - Returns True if at least one operand is True
16
+ - Reads from the left to the right operand
17
+
18
+ Example:
19
+
20
+ | Statement | Result |
21
+ | ------------- | ---------- |
22
+ | ` True or True ` | ` True ` |
23
+ | ` True or False ` | ` True ` |
24
+ | ` False or False ` | ` False ` |
25
+ | ` False or True ` | ` True ` |
26
+
27
+ ## NOT
28
+ - Returns True if the operand is False
29
+
30
+ Example:
31
+
32
+ | Statement | Result |
33
+ | ------------- | ---------- |
34
+ | ` not True ` | ` False ` |
35
+ | ` not False ` | ` True ` |
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments