code: 
  
  
  """simple docstring"""
  
  
  
  
  
  
  import shutil
  
  import requests
  
  
  
  
  def 						_UpperCamelCase			(  A    ,       A = False    ,       A = "."			):
     UpperCamelCase_     ="https://api.nasa.gov/planetary/apod"
     return requests.get(A    ,       params={"api_key": api_key}			).json()
  
  
  
  
  def 						_UpperCamelCase			(  A    ,       A = "."			):
     UpperCamelCase_     =get_apod_data(A			)
     UpperCamelCase_     =apod_data["url"]
     UpperCamelCase_     =img_url.split("/"			)[-1]
     UpperCamelCase_     =requests.get(A    ,       stream=A			)
  
     with open(f"""{path}/{img_name}"""    ,       "wb+"			) as img_file:
        shutil.copyfileobj(response.raw    ,       A			)
     del response
     return apod_data
  
  
  
  
  def 						_UpperCamelCase			(  A			):
     UpperCamelCase_     ="https://images-api.nasa.gov/search"
     return requests.get(A    ,       params={"q": query}			).json()
  
  
  if __name__ == "__main__":
      print(save_apod("YOUR API KEY"))
      A_			  =    get_archive_data("apollo 2011")["collection"]["items"]
      print(apollo_aaaa_items[0]["data"][0]["description"])
  
style_context: 
  
  
  
  
  
  
  """simple docstring"""
  
  
  
  
  
  
  from __future__ import annotations
  
  from pathlib import Path
  
  
  
  
  def 						_UpperCamelCase			(  A    ,       A			):
     return pointa[0] * pointa[1] - pointa[1] * pointa[0]
  
  
  
  
  def 						_UpperCamelCase			(  A    ,       A    ,       A    ,       A    ,       A    ,       A			):
     UpperCamelCase_     =(xa, ya)
     UpperCamelCase_     =(xa - xa, ya - ya)
     UpperCamelCase_     =(xa - xa, ya - ya)
     UpperCamelCase_     =-vector_product(A    ,       A			) / vector_product(
         A    ,       A			)
     UpperCamelCase_     =+vector_product(A    ,       A			) / vector_product(
         A    ,       A			)
  
     return a > 0 and b > 0 and a + b < 1
  
  
  
  
  def 						_UpperCamelCase			(  A = "p102_triangles.txt"			):
     UpperCamelCase_     =Path(A			).parent.joinpath(A			).read_text(encoding="utf-8"			)
  
     UpperCamelCase_     =[]
     for line in data.strip().split("\n"			):
        triangles.append([int(A			) for number in line.split(","			)]			)
  
     UpperCamelCase_     =0
     UpperCamelCase_     =42
  
     for triangle in triangles:
        ret += contains_origin(*A			)
  
     return ret
  
  
  if __name__ == "__main__":
      print(f'''{solution() = }''')
  