I hereby claim:
- I am heinzf on github.
- I am heinz (https://keybase.io/heinz) on keybase.
- I have a public key ASCFXQKyCAomXzg05PGAB7DWBeSZFCzLaJVz-9YKIzq2NQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class Truthiness(): | |
from random import random | |
_True = 1 == 1 | |
_False = 1 == 0 | |
def __init__(self, value): | |
self.value = value | |
def __str__(self): | |
return 'True' | |
def __int__(self): | |
if random.random() < self.value: |