summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--python3.html.markdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index 6e8d2460..20377801 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -58,11 +58,12 @@ Note: This article applies to Python 3 specifically. Check out [here](http://lea
2**3 # => 8
# Enforce precedence with parentheses
+1 + 3 * 2 # => 7
(1 + 3) * 2 # => 8
# Boolean values are primitives (Note: the capitalization)
-True
-False
+True # => True
+False # => False
# negate with not
not True # => False