Spaces:
Sleeping
Sleeping
Update pages/2_Events.py
Browse files- pages/2_Events.py +7 -1
pages/2_Events.py
CHANGED
|
@@ -164,4 +164,10 @@ if st.button("Pick a Ball"):
|
|
| 164 |
p_r=round(red_balls / total_balls,2)
|
| 165 |
p_b=round(blue_balls / total_balls,2)
|
| 166 |
st.write(f"Probability of picking Red next: {p_r}")
|
| 167 |
-
st.write(f"Probability of picking Blue next: {p_b}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
p_r=round(red_balls / total_balls,2)
|
| 165 |
p_b=round(blue_balls / total_balls,2)
|
| 166 |
st.write(f"Probability of picking Red next: {p_r}")
|
| 167 |
+
st.write(f"Probability of picking Blue next: {p_b}")
|
| 168 |
+
st.subheader("Exclusive Event")
|
| 169 |
+
st.markdown("""An event is said to be exclusive event when both of the event cannot occur at the same time""",unsafe_allow_html=True)
|
| 170 |
+
st.write(f"EVENT: Getting head and tail once.Here both of the event cannot occur same time")
|
| 171 |
+
st.subheader("Certain Event")
|
| 172 |
+
st.markdown("""An event is said to be certain event when the probablity of happening of event is 1 """,unsafe_allow_html=True)
|
| 173 |
+
st.write(f"Event: Getting either head or tail.")
|