Skip to content

Commit ff4a40e

Browse files
committed
add more conditional files
1 parent 0e414ef commit ff4a40e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

AndOr.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
x = 3
2+
y = 6
3+
if(x > 0 and y > 0):
4+
print("x and y are both greater than 0")
5+
6+
x = 3
7+
y = -3
8+
if(x > 0 or y > 0):
9+
print("Either x or y is greater than 0 - but not both!")
10+

0 commit comments

Comments
 (0)