DOMMETI commited on
Commit
6ba9e3b
·
verified ·
1 Parent(s): fea40fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -55,6 +55,15 @@ frequency of numbers repeating in this senario we will come accross No_Mode situ
55
  st.markdown(''':violet[Uni_Mode] \n Let's understand why this situation raises for example let's take list of numbers [1,1,1,2,3,4,5]. here by
56
  checking the list it will tend to know that the frequency of number 1 is more and it returns the value 1 as output.
57
  ''')
 
 
 
 
 
 
 
 
 
58
  def mode(*args):
59
  list1 = list(args)
60
  dict1 = {}
 
55
  st.markdown(''':violet[Uni_Mode] \n Let's understand why this situation raises for example let's take list of numbers [1,1,1,2,3,4,5]. here by
56
  checking the list it will tend to know that the frequency of number 1 is more and it returns the value 1 as output.
57
  ''')
58
+ st.markdown(''':violet[Bi_Mode] \n Let's understand why this situation raises for example let's take list of numbers [1,1,2,2,3,4,5]. here by
59
+ checking the frequency in list we come across a situtaion where we will find two maximun frequecy repeated value hence the output will be Bi_Mode.
60
+ ''')
61
+ st.markdown(''':violet[Tri_Mode] \n Let's understand why this situation raises for example let's take list of numbers [1,1,2,2,3,3,4,5]. here by
62
+ checking the frequency in list we come across a situtaion where we will find three maximun frequecy repeated value hence the output will be Tri_Mode.
63
+ ''')
64
+ st.markdown(''':violet[Bi_Mode] \n Let's understand why this situation raises for example let's take list of numbers [1,1,2,2,3,3,4,4,5]. here by
65
+ checking the frequency in list we come across a situtaion where we will find more than three maximun frequecy repeated value hence the output will be Multi_Mode.
66
+ ''')
67
  def mode(*args):
68
  list1 = list(args)
69
  dict1 = {}