Answer:
The code is attached. I used python to define the function and matplotlib library to plot the histogram.
Explanation:
- I defined a function called roll_hundred_pair
- I imported matplotlib.pyplot as plt and random
- I defined a list called dice
- I created an empty list to collect dice results
- I simulated 100 dice roll using a loop and random.sample
- finally I plot the histogram using plt.hist method