




"""simple docstring"""
def 						UpperCAmelCase				(			A__:    int     )  ->     int:
			assert (
			    isinstance(A__							,				A__     ) and number_of_steps > 0
			), f'''number_of_steps needs to be positive integer, your input {number_of_steps}'''
			if number_of_steps == 1:
						return 1
			__lowerCamelCase       ,      __lowerCamelCase					:	Optional[Any]	       =				1, 1
			for _ in range(number_of_steps - 1     ):
						__lowerCamelCase       ,      __lowerCamelCase					:	Any	       =				current + previous, current
			return current


if __name__ == "__main__":
					import doctest

					doctest.testmod()









"""simple docstring"""
import requests

a_				:    Optional[Any]										=     ''''''  # <-- Put your OpenWeatherMap appid here!
a_				:    str										=     '''https://api.openweathermap.org/data/2.5/'''





def 						UpperCAmelCase				(			A__:    str = "Chicago"							,				A__:    str = APPID     )  ->     dict:
			return requests.get(URL_BASE + 'weather'							,				params=locals()     ).json()





def 						UpperCAmelCase				(			A__:    str = "Kolkata, India"							,				A__:    str = APPID     )  ->     dict:
			return requests.get(URL_BASE + 'forecast'							,				params=locals()     ).json()





def 						UpperCAmelCase				(			A__:    float = 55.68							,				A__:    float = 12.57							,				A__:    str = APPID     )  ->     dict:
			return requests.get(URL_BASE + 'onecall'							,				params=locals()     ).json()


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

					while True:
										a_				:    List[Any]										=     input('''Enter a location:''').strip()
										if location:
															pprint(current_weather(location))
										else:
															break



