From 6629b5cd39b4d87ef47b57060d050919c7f40aa8 Mon Sep 17 00:00:00 2001 From: Alexander Sologub Date: Thu, 9 Oct 2014 19:50:55 +0300 Subject: [python/en] Removed unnecessary plus signs in bool operators section --- python.html.markdown | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/python.html.markdown b/python.html.markdown index 390c7b76..42a1f63a 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -58,15 +58,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 -- cgit v1.2.3