7 Apr
2016
7 Apr
'16
4:43 p.m.
On 04/07/2016 09:02 AM, Joseph Martinot-Lagarde wrote:
How about the str function ? str(True) != str(1) str(False) != str(0)
bools are a subclass of int, and the string represention of an int is not integral to its value: class fraction(int): ... fraction('4/2') == 2 str(fraction('4/2')) != str(2) -- ~Ethan~