mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-27 13:32:56 +03:00
Merge pull request #4524 from smith558/patch-4
[python/en] Improve bool examples
This commit is contained in:
commit
6ac5983d5a
@ -85,7 +85,7 @@ False - 5 # => -5
|
||||
|
||||
# Comparison operators look at the numerical value of True and False
|
||||
0 == False # => True
|
||||
1 == True # => True
|
||||
2 > True # => True
|
||||
2 == True # => False
|
||||
-5 != False # => True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user