





import requests

snake_case_     :   Tuple							=			''''''  # <-- Put your OpenWeatherMap appid here!
snake_case_     :   Any							=			'''https://api.openweathermap.org/data/2.5/'''


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


def 					A__	(       SCREAMING_SNAKE_CASE_ = "Kolkata, India"							,       SCREAMING_SNAKE_CASE_ = APPID		)   ->     Union[str, Any]:
		return requests.get(URL_BASE + '''forecast'''							,       params=locals()		).json()


def 					A__	(       SCREAMING_SNAKE_CASE_ = 5_5.6_8							,       SCREAMING_SNAKE_CASE_ = 1_2.5_7							,       SCREAMING_SNAKE_CASE_ = APPID		)   ->     str:
		return requests.get(URL_BASE + '''onecall'''							,       params=locals()		).json()


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

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








def 					A__	(       SCREAMING_SNAKE_CASE_		)   ->     bool:
		lowerCamelCase   : Optional[Any]								=[int(SCREAMING_SNAKE_CASE_		) for i in ip_va_address.split('''.'''		) if i.isdigit()]
		return len(SCREAMING_SNAKE_CASE_		) == 4 and all(0 <= int(SCREAMING_SNAKE_CASE_		) <= 2_5_4 for octet in octets		)


if __name__ == "__main__":
				snake_case_							=			input().strip()
				snake_case_							=			'''valid''' if is_ip_va_address_valid(ip) else '''invalid'''
				print(F"""{ip} is a {valid_or_invalid} IP v4 address.""")

