


def  SCREAMING_SNAKE_CASE_		(    __A				:    int | float | str       )			->	tuple[int, int]:

							"""simple docstring"""

							try:
														a_      :	Optional[Any]							=						float(__A       )
							except ValueError:
														raise ValueError('Please enter a valid number'       )
							a_      :	int							=						decimal - int(__A       )
							if fractional_part == 0:
														return int(__A       ), 1
							else:
														a_      :	Dict							=						len(str(__A       ).split('.'       )[1]       )
														a_      :	Optional[Any]							=						int(decimal * (10**number_of_frac_digits)       )
														a_      :	Optional[Any]							=						10**number_of_frac_digits
														a_      :	Dict							=						denominator, numerator
														while True:
																					a_      :	int							=						dividend % divisor
																					if remainder == 0:
																												break
																					a_      :	int							=						divisor, remainder
														a_      :	int							=						numerator / divisor, denominator / divisor
														return int(__A       ), int(__A       )


if __name__ == "__main__":
			print(F'{decimal_to_fraction(2) = }')
			print(F'{decimal_to_fraction(89.0) = }')
			print(F'{decimal_to_fraction("67") = }')
			print(F'{decimal_to_fraction("45.0") = }')
			print(F'{decimal_to_fraction(1.5) = }')
			print(F'{decimal_to_fraction("6.25") = }')
			print(F'{decimal_to_fraction("78td") = }')






def  SCREAMING_SNAKE_CASE_		(    __A				:    int						,					__A				:    int						,					__A				:    int       )			->	float:

       """simple docstring"""

       a_      :	Optional[int]							=						(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
       # formula for sum of series
       return total







def  SCREAMING_SNAKE_CASE_		(    )			->	Optional[Any]:

       """simple docstring"""

       print(sum_of_series(1						,					1						,					10       )       )


if __name__ == "__main__":
   import doctest

   doctest.testmod()


