random_number = random.randInt(1,10) code example Example: random.randint(0,20) + pyrthon random.randint(0,20)