




"""simple docstring"""




from math import pi, sqrt







def      __UpperCAmelCase     ( __UpperCamelCase	):
			if num <= 0:
						raise ValueError('''math domain error'''	)
			if num > 171.5:
						raise OverflowError('''math range error'''	)
			elif num - int(__UpperCamelCase	) not in (0, 0.5):
						raise NotImplementedError('''num must be an integer or a half-integer'''	)
			elif num == 0.5:
						return sqrt(__UpperCamelCase	)
			else:
						return 1.0 if num == 1 else (num - 1) * gamma(num - 1	)







def      __UpperCAmelCase     ( ):
			assert gamma(0.5	) == sqrt(__UpperCamelCase	)
			assert gamma(1	) == 1.0
			assert gamma(2	) == 1.0


if __name__ == "__main__":
			from doctest import testmod

			testmod()
			a_        =       1.0
			while num:
						a_        =       float(input('Gamma of: '))
						print(F"gamma({num}) = {gamma(num)}")
						print('\nEnter 0 to exit...')








'''simple docstring'''

def 	__lowerCamelCase	( lowerCAmelCase_    )     -> bool:
		if not all(x.isalpha() for x in string    ):
				raise ValueError('String must only contain alphabetic characters.'    )

		_a	: Tuple								=				sorted(string.lower()    )
		return len(lowerCAmelCase_    ) == len(set(lowerCAmelCase_    )    )


if __name__ == "__main__":
							__lowerCAmelCase		     =  input('''Enter a string ''').strip()

							__lowerCAmelCase		     =  is_isogram(input_str)
							print(f"""{input_str} is {'an' if isogram else 'not an'} isogram.""")




