import random
import plotly_express as pe
import plotly.figure_factory as ff

count = []
dice_result = []
for i in range(0,100):
    dice_1 = random.randint(1,6)
    dice_2 = random.randint(1,6)
    dice_result.append(dice_1 + dice_2)
    count.append(i)
    
#fig = pe.bar(x=dice_result,y=count)
#fig.show()
fig = ff.create_distplot([dice_result],['result'],show_hist=False)
fig.show()

#print(dice_1 , dice_2)