Python losowy prawda Fałsz

bool(random.getrandbits(1)) #is still about twice as fast as random.choice([True, False])
MrStonkus