1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 04:20:39 +02:00

Merge pull request #4524 from smith558/patch-4

[python/en] Improve bool examples
This commit is contained in:
Marcel Ribeiro Dantas
2023-03-13 11:16:55 -03:00
committed by GitHub

View File

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