


'''simple docstring'''





def 							_lowercase    (		SCREAMING_SNAKE_CASE_   :		int | float | str	):





			"""simple docstring"""




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


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 							_lowercase    (		SCREAMING_SNAKE_CASE_   :		str	):





			"""simple docstring"""




			return [
			    txt[:a] + txt[a].upper() + txt[a + 1 :]
			    for a in range(len(SCREAMING_SNAKE_CASE_	)	)
			    if txt[a].isalpha()
			]


if __name__ == "__main__":
			__import__("doctest").testmod()




