mercredi 2 décembre 2015

How do I display individual integers within an array for a certain amount of time in Python?

The code I have is:

import random

integers = int(input("How many integers do you want to display?"))

print("You selected ", integers)

string = random.sample(range(1,100),integers)
print(string)




Aucun commentaire:

Enregistrer un commentaire