DOMMETI commited on
Commit
a6a2713
·
verified ·
1 Parent(s): 260ce6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -131,11 +131,11 @@ st.markdown("""Outcome is nothing but result of a trail.""")
131
  st.subheader("Sample Space")
132
  st.markdown("""Set of all possible outcome of Sample Space..""")
133
  st.title("Example of Sample Space")
134
- Trail = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7)
135
  if st.button('Start the Experiment: Will it Rain or Not?'):
136
- st.write(f"Running {Trail} trials...")
137
  list1=[]
138
- for i in range(1, Trail + 1):
139
  result = random.choice(['Rain', 'No Rain'])
140
  list1+=[result]
141
  st.write(f"Sample_Space:{np.unique(list1)}")
 
131
  st.subheader("Sample Space")
132
  st.markdown("""Set of all possible outcome of Sample Space..""")
133
  st.title("Example of Sample Space")
134
+ Trail_1 = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7)
135
  if st.button('Start the Experiment: Will it Rain or Not?'):
136
+ st.write(f"Running {Trail_1} trials...")
137
  list1=[]
138
+ for i in range(1, Trail_1 + 1):
139
  result = random.choice(['Rain', 'No Rain'])
140
  list1+=[result]
141
  st.write(f"Sample_Space:{np.unique(list1)}")