





'''simple docstring'''


from numpy import exp, pi, sqrt
def 							UpperCAmelCase_  (						__lowerCamelCase : Dict     ,__lowerCamelCase : float = 0.0     ,__lowerCamelCase : float = 1.0			):






   """simple docstring"""




   return 1 / sqrt(2 * pi * sigma**2			) * exp(-((x - mu) ** 2) / (2 * sigma**2)			)


if __name__ == "__main__":
 import doctest

 doctest.testmod()









'''simple docstring'''


def 							UpperCAmelCase_  (						__lowerCamelCase : str     ,__lowerCamelCase : str			):
   lowercase_      :Optional[Any]         =			len(__lowerCamelCase			)
   lowercase_      :List[Any]         =			[]
   for i in range(len(__lowerCamelCase			) - pat_len + 1			):
      lowercase_      :Dict         =			True
      for j in range(__lowerCamelCase			):
         if s[i + j] != pattern[j]:
            lowercase_      :int         =			False
            break
      if match_found:
         position.append(__lowerCamelCase			)
   return position


if __name__ == "__main__":
 assert naive_pattern_search('''ABCDEFG''', '''DE''') == [3]
 print(naive_pattern_search('''ABAAABCDBBABCDDEBCABC''', '''ABC'''))


