




import requests

lowerCamelCase    :		Dict			   =       ""  # <-- Put your OpenWeatherMap appid here!
lowerCamelCase    :		int			   =       "https://api.openweathermap.org/data/2.5/"

def       _SCREAMING_SNAKE_CASE      (							lowercase     :	str = "Chicago"     ,							lowercase     :	str = APPID					):


      '''simple docstring'''



      return requests.get(URL_BASE + 'weather'     ,							params=locals()					).json()

def       _SCREAMING_SNAKE_CASE      (							lowercase     :	str = "Kolkata, India"     ,							lowercase     :	str = APPID					):


      '''simple docstring'''



      return requests.get(URL_BASE + 'forecast'     ,							params=locals()					).json()

def       _SCREAMING_SNAKE_CASE      (							lowercase     :	float = 55.68     ,							lowercase     :	float = 12.57     ,							lowercase     :	str = APPID					):


      '''simple docstring'''



      return requests.get(URL_BASE + 'onecall'     ,							params=locals()					).json()


if __name__ == "__main__":
 from pprint import pprint

 while True:
  lowerCamelCase    :		List[str]			   =       input("Enter a location:").strip()
  if location:
   pprint(current_weather(location))
  else:
   break









def       _SCREAMING_SNAKE_CASE      (							lowercase     :	str     ,							lowercase     :	int					):


      '''simple docstring'''



      return [sentence[i : i + ngram_size] for i in range(len(lowercase					) - ngram_size + 1					)]


if __name__ == "__main__":
 from doctest import testmod

 testmod()



