divide=float(random.randint(1, 4))
divde2=float(random.randint(1, 12))
print("Hi", divide % divide2)
My task is to get two random.randint
values which are:
- The first from 1 to 4
- The second from 1 to 12
The second random value should be divided by the first random value and the result must be rounded down.
Aucun commentaire:
Enregistrer un commentaire