So for example for a six-sided die, the expected value that we get by rolling the die it's the sum over all sides, the probability of getting that side which is a 6, times the value on that side which is the numbers 1, 2, 3, 4, 5, or 6. 