

from datetime import datetime

import requests
def   a   (    A__			:     str  )					->   bytes:





      """simple docstring"""



      _lowercase			 ='https://downloadgram.net/wp-json/wppress/video-downloader/video?url='
      _lowercase			 =requests.get(base_url + url  ).json()[0]['urls'][0]['src']
      return requests.get(A__  ).content


if __name__ == "__main__":
  lowercase_             =     input('Enter Video/IGTV url: ').strip()
  lowercase_             =     f"{datetime.now():%Y-%m-%d_%H:%M:%S}.mp4"
  with open(file_name, 'wb') as fp:
    fp.write(download_video(url))
  print(f"Done. Video saved to disk as {file_name}.")





from math import pow, sqrt
def   a   (    *A__			:     float  )					->   bool:





      """simple docstring"""



      _lowercase			 =len(A__  ) > 0 and all(value > 0.0 for value in values  )
      return result
def   a   (    A__			:     float   ,     A__			:     float  )					->   float | ValueError:





      """simple docstring"""



      return (
          round(sqrt(molar_mass_a / molar_mass_a  )   ,     6  )
          if validate(A__   ,     A__  )
          else ValueError('Input Error: Molar mass values must greater than 0.'  )
      )
def   a   (    A__			:     float   ,     A__			:     float   ,     A__			:     float  )					->   float | ValueError:





      """simple docstring"""



      return (
          round(effusion_rate * sqrt(molar_mass_a / molar_mass_a  )   ,     6  )
          if validate(A__   ,     A__   ,     A__  )
          else ValueError(
              'Input Error: Molar mass and effusion rate values must greater than 0.'  )
      )
def   a   (    A__			:     float   ,     A__			:     float   ,     A__			:     float  )					->   float | ValueError:





      """simple docstring"""



      return (
          round(effusion_rate / sqrt(molar_mass_a / molar_mass_a  )   ,     6  )
          if validate(A__   ,     A__   ,     A__  )
          else ValueError(
              'Input Error: Molar mass and effusion rate values must greater than 0.'  )
      )
def   a   (    A__			:     float   ,     A__			:     float   ,     A__			:     float  )					->   float | ValueError:





      """simple docstring"""



      return (
          round(molar_mass / pow(effusion_rate_a / effusion_rate_a   ,     2  )   ,     6  )
          if validate(A__   ,     A__   ,     A__  )
          else ValueError(
              'Input Error: Molar mass and effusion rate values must greater than 0.'  )
      )







def   a   (    A__			:     float   ,     A__			:     float   ,     A__			:     float  )					->   float | ValueError:





      """simple docstring"""



      return (
          round(pow(effusion_rate_a / effusion_rate_a   ,     2  ) / molar_mass   ,     6  )
          if validate(A__   ,     A__   ,     A__  )
          else ValueError(
              'Input Error: Molar mass and effusion rate values must greater than 0.'  )
      )


