We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e414ef commit ff4a40eCopy full SHA for ff4a40e
1 file changed
AndOr.py
@@ -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
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