
'''simple docstring'''







def  snake_case_		(    __SCREAMING_SNAKE_CASE :			int				,				__SCREAMING_SNAKE_CASE :			float				,				__SCREAMING_SNAKE_CASE :			float							):



						"""simple docstring"""





						return round(float(moles / volume							) * nfactor							)
def  snake_case_		(    __SCREAMING_SNAKE_CASE :			float				,				__SCREAMING_SNAKE_CASE :			float				,				__SCREAMING_SNAKE_CASE :			float							):



						"""simple docstring"""





						return round(float((moles * 0.0821 * temperature) / (volume)							)							)
def  snake_case_		(    __SCREAMING_SNAKE_CASE :			float				,				__SCREAMING_SNAKE_CASE :			float				,				__SCREAMING_SNAKE_CASE :			float							):



						"""simple docstring"""





						return round(float((moles * 0.0821 * temperature) / (pressure)							)							)
def  snake_case_		(    __SCREAMING_SNAKE_CASE :			float				,				__SCREAMING_SNAKE_CASE :			float				,				__SCREAMING_SNAKE_CASE :			float							):



						"""simple docstring"""





						return round(float((pressure * volume) / (0.0821 * moles)							)							)


if __name__ == "__main__":
							import doctest

							doctest.testmod()





'''simple docstring'''







from PIL import Image
def  snake_case_		(    __SCREAMING_SNAKE_CASE :			Image				,				__SCREAMING_SNAKE_CASE :			int							):



						"""simple docstring"""





						lowercase_     :					Optional[int]													=	(259 * (level + 255)) / (255 * (259 - level))

						def contrast(__SCREAMING_SNAKE_CASE :			int							) -> int:
												return int(128 + factor * (c - 128)							)

						return img.point(__SCREAMING_SNAKE_CASE							)


if __name__ == "__main__":
							# Load image
							with Image.open("image_data/lena.jpg") as img:
														# Change contrast to 170
														_lowercase			:  Union[str, Any]   							=	change_contrast(img, 1_7_0)
														cont_img.save("image_data/lena_high_contrast.png", format="png")



