


"""simple docstring"""


import requests

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


def    _lowerCamelCase   (     lowerCamelCase__	:							str = "Chicago"       ,		lowerCamelCase__	:							str = APPID  ):
 return requests.get(URL_BASE + """weather"""       ,		params=locals()  ).json()


def    _lowerCamelCase   (     lowerCamelCase__	:							str = "Kolkata, India"       ,		lowerCamelCase__	:							str = APPID  ):
 return requests.get(URL_BASE + """forecast"""       ,		params=locals()  ).json()


def    _lowerCamelCase   (     lowerCamelCase__	:							float = 55.68       ,		lowerCamelCase__	:							float = 12.57       ,		lowerCamelCase__	:							str = APPID  ):
 return requests.get(URL_BASE + """onecall"""       ,		params=locals()  ).json()


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

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



"""simple docstring"""


import requests
from bsa import BeautifulSoup


def    _lowerCamelCase   (     lowerCamelCase__	:							str = "https://www.worldometers.info/coronavirus"  ):
 lowercase__       :       Optional[Any]				=						BeautifulSoup(requests.get(lowerCamelCase__  ).text       ,		"""html.parser"""  )
 lowercase__       :       Union[str, Any]				=						soup.findAll("""h1"""  )
 lowercase__       :       List[str]				=						soup.findAll("""div"""       ,		{"""class""": """maincounter-number"""}  )
 keys += soup.findAll("""span"""       ,		{"""class""": """panel-title"""}  )
 values += soup.findAll("""div"""       ,		{"""class""": """number-table-main"""}  )
 return {key.text.strip(): value.text.strip() for key, value in zip(lowerCamelCase__       ,		lowerCamelCase__  )}


if __name__ == "__main__":
   print('\033[1m' + 'COVID-19 Status of the World' + '\033[0m\n')
   for key, value in world_covidaa_stats().items():
      print(F"{key}\n{value}\n")