Random number between 0 and 1? [duplicate] October 13, 2022 by Tarik You can use random.uniform import random random.uniform(0, 1)