rng is a random generator with a fixed seed, so everyone gets the same numbers. Simulate 5 dice rolls (whole numbers 1–6) with rng.integers and store them in result.
import numpy as np rng = np.random.default_rng(42)
Store your final answer in a variable named result.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.