“Randin” Réponses codées

Python au hasard

# imports random
import random
# randint generates a random integar between the first parameter and the second
print(random.randint(1, 100))
Hurt Hippopotamus

Python au hasard

# imports random
import random
# randint generates a random integar between the first parameter and the second
print(random.randint(1, 100))
# random generates a random real number in the interval [0, 1)
print(random.random())
Cooperative Cicada

Python Rannt

from random import randint

print(randint(3, 9))
DaWildOne

Randin

random.randint(a, b)
OuttaSpace

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code