



import math






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       assert isinstance(A_,    A_						) and (
           number >= 0
       ), "'number' must been an int and positive"

       if 1 < number < 4:
              # 2 and 3 are primes
              return True
       elif number < 2 or not number % 2:
              # Negatives, 0, 1 and all even numbers are not primes
              return False

       _lowerCamelCase						:    str         =			range(3,    int(math.sqrt(A_						) + 1						),    2						)
       return not any(not number % i for i in odd_numbers						)







def 	snake_case_  (				A_ :		Any,    A_ :		Tuple=1,    **A_ :		Optional[int]						):


       '''simple docstring'''





       _lowerCamelCase						:    Any         =			factor * value
       _lowerCamelCase						:    List[str]         =			value

       while not is_prime(A_						):
              value += 1 if not ("desc" in kwargs and kwargs["desc"] is True) else -1

       if value == first_value_val:
              return next_prime(value + 1,    **A_						)
       return value







"""simple docstring"""






import math






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       return math.sqrt(A_						) * math.sqrt(A_						) == num






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       _lowerCamelCase						:    Dict         =			0
       _lowerCamelCase						:    Tuple         =			n
       while left <= right:
              _lowerCamelCase						:    List[str]         =			(left + right) // 2
              if mid**2 == n:
                     return True
              elif mid**2 > n:
                     _lowerCamelCase						:    int         =			mid - 1
              else:
                     _lowerCamelCase						:    Optional[Any]         =			mid + 1
       return False


if __name__ == "__main__":
   import doctest

   doctest.testmod()


