python3 apparently uses a different RNG for random.randint(), switch to random.random()