You are rolling a die with 6 sides. Event $A$ is that you roll a number greater than 4. Event $B$ is that you roll a $1$. Event $C$ rolling a number less than 3. Answer these problems using python code. Make sure your numbers contain decimals (write 1.0
instead of 1
) so python knows you want to have decimals. Each problem is worth 1 point.
In [6]:
#Answer 2.1
2 / 6
Out[6]:
In [7]:
#Answer 2.2
2/ 6 + 2 / 6
Out[7]:
In [8]:
#Answer 2.3
2 / 6
Out[8]:
In [9]:
#Answer 2.4
2 / 6 * 1 / 6
Out[9]:
In [10]:
#Answer 2.5
2 * 2 / 6 * 1 / 6
Out[10]: