summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2014-10-09 20:07:57 -0500
committerLevi Bostian <levi.bostian@gmail.com>2014-10-09 20:07:57 -0500
commit132823d2744d905aa79c20dd33c3373135de9cee (patch)
tree40f8a64e0d502b197794aa60104086ebe76e1a0c /python.html.markdown
parente2b5279510846d841683bcee17642d984f2d87e0 (diff)
parent6629b5cd39b4d87ef47b57060d050919c7f40aa8 (diff)
Merge pull request #795 from marvelousNinja/plus_signs_in_python
[python/en] Removed unnecessary plus signs in bool operators section
Diffstat (limited to 'python.html.markdown')
-rw-r--r--python.html.markdown18
1 files changed, 9 insertions, 9 deletions
diff --git a/python.html.markdown b/python.html.markdown
index febfa119..ba236fb3 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -62,15 +62,15 @@ to Python 2.x. Look for another tour of Python 3 soon!
(1 + 3) * 2 # => 8
# Boolean Operators
-+# Note "and" and "or" are case-sensitive
-+True and False #=> False
-+False or True #=> True
-+
-+# Note using Bool operators with ints
-+0 and 2 #=> 0
-+-5 or 0 #=> -5
-+0 == False #=> True
-+2 == True #=> False
+# Note "and" and "or" are case-sensitive
+True and False #=> False
+False or True #=> True
+
+# Note using Bool operators with ints
+0 and 2 #=> 0
+-5 or 0 #=> -5
+0 == False #=> True
+2 == True #=> False
1 == True #=> True
# negate with not