





from math import factorial, radians



def    __lowercase   (      _SCREAMING_SNAKE_CASE ,						_SCREAMING_SNAKE_CASE = 18 ,						_SCREAMING_SNAKE_CASE = 10	) ->   float:


      '''simple docstring'''


      SCREAMING_SNAKE_CASE		=						angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

      # Converting from degrees to radians
      SCREAMING_SNAKE_CASE		=						radians(_SCREAMING_SNAKE_CASE	)

      SCREAMING_SNAKE_CASE		=						angle_in_radians
      SCREAMING_SNAKE_CASE		=						3
      SCREAMING_SNAKE_CASE		=						-1

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

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

      return round(_SCREAMING_SNAKE_CASE ,						_SCREAMING_SNAKE_CASE	)


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









from pathlib import Path

import fire



def    __lowercase   (      _SCREAMING_SNAKE_CASE ,						_SCREAMING_SNAKE_CASE ,						_SCREAMING_SNAKE_CASE	) ->   List[str]:


      '''simple docstring'''


      SCREAMING_SNAKE_CASE		=						Path(_SCREAMING_SNAKE_CASE	)
      SCREAMING_SNAKE_CASE		=						Path(_SCREAMING_SNAKE_CASE	)
      dest_dir.mkdir(exist_ok=_SCREAMING_SNAKE_CASE	)
      for path in src_dir.iterdir():
            SCREAMING_SNAKE_CASE		=						[x.rstrip() for x in list(path.open().readlines()	)][:n]
            SCREAMING_SNAKE_CASE		=						dest_dir.joinpath(path.name	)
            print(_SCREAMING_SNAKE_CASE	)
            dest_path.open("""w"""	).write("""\n""".join(_SCREAMING_SNAKE_CASE	)	)


if __name__ == "__main__":
      fire.Fire(minify)


