DEV Community

Discussion on: Write a function that shows off something unique or interesting about the language you're using

 
pbouillon profile image
Pierre Bouillon • Edited

Shameful mistake, thanks for clarifying ! I meant that they had their own type now, indeed from integer.

Full explanation

Initially, Python used to have no bool type 
(people used 0 for false and non-zero value like 1 for true). 
Then they added True, False, and a bool type, but, for backward
compatibility, they couldn't make True and False constants- they 
just were built-in variables.