





def  SCREAMING_SNAKE_CASE				(      snake_case							)		->    int:
		return 1 if digit in (0, 1) else (digit * factorial(digit - 1							))



def  SCREAMING_SNAKE_CASE				(      snake_case							)		->    bool:
		__lowercase											=     0
		__lowercase											=     number
		while duplicate > 0:
				__lowercase						,      __lowercase											=     divmod(snake_case						,   10							)
				fact_sum += factorial(snake_case							)
		return fact_sum == number


if __name__ == "__main__":
		print('''Program to check whether a number is a Krisnamurthy Number or not.''')
		SCREAMING_SNAKE_CASE_   :      Dict			=   int(input('''Enter number: ''').strip())
		print(
		    F"""{number} is {'' if krishnamurthy(number) else 'not '}a Krishnamurthy Number."""
		)











def  SCREAMING_SNAKE_CASE				(      snake_case						,   snake_case = False							)		->    str:

		if not isinstance(snake_case						,   snake_case							):
				__lowercase											=     F"Expected string as input, found {type(snake_case							)}"
				raise ValueError(snake_case							)
		if not isinstance(snake_case						,   snake_case							):
				__lowercase											=     F"Expected boolean as use_pascal parameter, found {type(snake_case							)}"
				raise ValueError(snake_case							)

		__lowercase											=     input_str.split('_'							)

		__lowercase											=     0 if use_pascal else 1

		__lowercase											=     words[start_index:]

		__lowercase											=     [word[0].upper() + word[1:] for word in words_to_capitalize]

		__lowercase											=     '' if use_pascal else words[0]

		return "".join([initial_word, *capitalized_words]							)


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

		testmod()




