for x in range(16):
ran.append(random.randint(1, 500))
# print(ran)
Generating random numbers within a range is easy but how to generate random numbers from a given range that yields the same output in each execution for that particular range in python.
Aucun commentaire:
Enregistrer un commentaire