1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-22 06:13:32 +02:00

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

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