

import requests

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






def 					__lowercase      (     _A = "Chicago"						,    _A = APPID			)     ->						dict:
      return requests.get(URL_BASE + """weather"""						,    params=locals()			).json()






def 					__lowercase      (     _A = "Kolkata, India"						,    _A = APPID			)     ->						dict:
      return requests.get(URL_BASE + """forecast"""						,    params=locals()			).json()






def 					__lowercase      (     _A = 55.68						,    _A = 12.57						,    _A = APPID			)     ->						dict:
      return requests.get(URL_BASE + """onecall"""						,    params=locals()			).json()


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

  while True:
    UpperCAmelCase__ :     str				    =    input("""Enter a location:""").strip()
    if location:
      pprint(current_weather(location))
    else:
      break







def 					__lowercase      (     _A = 50			)     ->						int:
      SCREAMING_SNAKE_CASE :      Tuple       =   [1] * (length + 1)

      for row_length in range(3						,    length + 1			):
            for block_length in range(3						,    row_length + 1			):
                  for block_start in range(row_length - block_length			):
                        ways_number[row_length] += ways_number[
                            row_length - block_start - block_length - 1
                        ]

                  ways_number[row_length] += 1

      return ways_number[length]


if __name__ == "__main__":
  print(F"""{solution() = }""")




