I am making an program that simulates the roll of a dice 100 times. Now I want to sort the output of the random numbers that are given by the program. How do I have to do that?
import random
def roll() :
print('The computer will now simulate the roll of a dice 100 times')
list1 = print([random.randint(1,6) for _ in range(100)])
roll()