Merge pull request #3781 from Benur21/patch-1

Explaining better and improving consistence
This commit is contained in:
Divay Prakash 2020-01-24 20:30:13 +05:30 committed by GitHub
commit ce95d2763e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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