



"""simple docstring"""


from __future__ import annotations

def 			_lowerCAmelCase				(       lowercase_						):





						if len(lowercase_						) < 2:
												raise ValueError('Monogons and Digons are not polygons in the Euclidean space'						)
						if any(i <= 0 for i in nums						):
												raise ValueError('All values must be greater than 0'						)
						UpperCAmelCase					=			nums.copy()
						copy_nums.sort()
						return copy_nums[-1] < sum(copy_nums[:-1]						)


if __name__ == "__main__":
				import doctest

				doctest.testmod()









"""simple docstring"""


from math import factorial, radians

def 			_lowerCAmelCase				(       lowercase_		,     lowercase_ = 18		,     lowercase_ = 10						):
						UpperCAmelCase					=			angle_in_degrees - ((angle_in_degrees // 3_6_0.0) * 3_6_0.0)

						# Converting from degrees to radians
						UpperCAmelCase					=			radians(lowercase_						)

						UpperCAmelCase					=			angle_in_radians
						UpperCAmelCase					=			3
						UpperCAmelCase					=			-1

						for _ in range(lowercase_						):
												result += (b * (angle_in_radians**a)) / factorial(lowercase_						)

												UpperCAmelCase					=			-b  # One positive term and the next will be negative and so on...
												a += 2  # Increased by 2 for every term.

						return round(lowercase_		,     lowercase_						)


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





