DOMMETI commited on
Commit
4516cd8
·
verified ·
1 Parent(s): d818f13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -113,3 +113,15 @@ This simple experiment simulates a random prediction will it rain or not. Each t
113
  if st.button('Will it rain or not'):
114
  result = random.choice(['Rain','NoRain'])
115
  st.write(f"The result is: **{result}**")
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  if st.button('Will it rain or not'):
114
  result = random.choice(['Rain','NoRain'])
115
  st.write(f"The result is: **{result}**")
116
+ st.subheader("Trail")
117
+ st.markdown("""A single execution of random experiment""")
118
+ st.title("Random Experiment:Will it rain or not with respect to trail")
119
+ st.write("""
120
+ This simple experiment simulates a random prediction will it rain or not with respect to trail. Each time you click the button you will get a random result that it will rain or not.
121
+ """)
122
+ Trail=st.number_input("No_of_trail:",min_value=1,max_value=100,value=7)
123
+ for i in range(1,Trail):
124
+ if st.button('Will it rain or not'):
125
+ result = random.choice(['Rain','NoRain'])
126
+ st.write(f"The result is: **{result}**")
127
+