So erstellen Sie eine zufällige Zahl zwischen 1 und 10 in Python
smallest = 0
largest = 100
random_number = random.randint(smallest, largest - 1)
Helpful Hare
smallest = 0
largest = 100
random_number = random.randint(smallest, largest - 1)
smallest = 0001
largest = 9999
random_number = random.randint(smallest, largest - 1)