We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a11664 commit efe0553Copy full SHA for efe0553
reference.py
@@ -101,11 +101,14 @@
101
102
### COMPARISONS AND BOOLEAN OPERATIONS ###
103
104
+# assignment statement
105
+x = 5
106
+
107
# comparisons (these return True)
-5 > 3
-5 >= 3
-5 != 3
108
-5 == 5
+x > 3
109
+x >= 3
110
+x != 3
111
+x == 5
112
113
# boolean operations (these return True)
114
5 > 3 and 6 > 3
@@ -117,9 +120,6 @@
117
120
118
121
### CONDITIONAL STATEMENTS ###
119
122
-# assignment statement
-x = 5
-
123
# if statement
124
if x > 0:
125
print('positive')
0 commit comments