

'''simple docstring'''







from math import ceil
def  UpperCAmelCase__      ( UpperCAmelCase__ = 10_01			)     ->     List[str]:
       A_		   = 1

       for i in range(1,    int(ceil(n / 2.0			)			)			):
              A_		   = 2 * i + 1
              A_		   = 2 * i
              A_		   = total + 4 * odd**2 - 6 * even

       return total


if __name__ == "__main__":
      import sys

      if len(sys.argv) == 1:
            print(solution())
      else:
            try:
                  __lowerCamelCase						    =      int(sys.argv[1])
                  print(solution(n))
            except ValueError:
                  print('''Invalid entry - please enter a number''')



'''simple docstring'''







import requests

__lowerCamelCase						    =      ''''''  # <-- Put your OpenWeatherMap appid here!
__lowerCamelCase						    =      '''https://api.openweathermap.org/data/2.5/'''
def  UpperCAmelCase__      ( UpperCAmelCase__ = "Chicago",    UpperCAmelCase__ = APPID			)     ->     dict:
       return requests.get(URL_BASE + """weather""",    params=locals()			).json()
def  UpperCAmelCase__      ( UpperCAmelCase__ = "Kolkata, India",    UpperCAmelCase__ = APPID			)     ->     dict:
       return requests.get(URL_BASE + """forecast""",    params=locals()			).json()
def  UpperCAmelCase__      ( UpperCAmelCase__ = 55.68,    UpperCAmelCase__ = 12.57,    UpperCAmelCase__ = APPID			)     ->     dict:
       return requests.get(URL_BASE + """onecall""",    params=locals()			).json()


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

      while True:
            __lowerCamelCase						    =      input('''Enter a location:''').strip()
            if location:
                  pprint(current_weather(location))
            else:
                  break
