




"""simple docstring"""
def 						UpperCAmelCase				(			A__:    str     )  ->     bool:
			if not all(x.isalpha() for x in string     ):
						raise ValueError('String must only contain alphabetic characters.'     )

			__lowerCamelCase					:	List[str]	       =				sorted(string.lower()     )
			return len(A__     ) == len(set(A__     )     )


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

					a_				:    Optional[Any]										=     is_isogram(input_str)
					print(F"""{input_str} is {'an' if isogram else 'not an'} isogram.""")









"""simple docstring"""
from cva import destroyAllWindows, imread, imshow, waitKey





def 						UpperCAmelCase				(			A__:    Tuple     )  ->     Union[str, Any]:
			# getting number of pixels in the image
			__lowerCamelCase       ,      __lowerCamelCase					:	Optional[Any]	       =				img.shape[0], img.shape[1]

			# converting each pixel's color to its negative
			for i in range(A__     ):
						for j in range(A__     ):
									__lowerCamelCase					:	Optional[Any]	       =				[255, 255, 255] - img[i][j]

			return img


if __name__ == "__main__":
					# read original image
					a_				:    Dict										=     imread('''image_data/lena.jpg''', 1)

					# convert to its negative
					a_				:    str										=     convert_to_negative(img)

					# show result image
					imshow('''negative of original image''', img)
					waitKey(0)
					destroyAllWindows()



