I am being asked to output the probability of a number most repeated for every dice until dice N rolled P times. The code I have now is:
import random
N = int(input("Insert Number: "))
P = int(input("Insert Number again: "))
for x in range (1,N+1):
print("Dice",x)
n = random.sample(range(1,6), P)
print(n)
Can someone help me move on to the step to calculate the possibility of the most repeated number for each dice?