summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2020-01-24 20:30:13 +0530
committerGitHub <noreply@github.com>2020-01-24 20:30:13 +0530
commitce95d2763ed7a5804eb454a1e018baa16e443ef7 (patch)
treec55d17bb5321c3b784ee13a7e00ca16ab1cef62c
parent9a3a25db67cfea592d3636c5aea2f31a78e6df68 (diff)
parent9e8184f455af5dcbbc1966cb50cbd0a007a85d2e (diff)
Merge pull request #3781 from Benur21/patch-1
Explaining better and improving consistence
-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