



from __future__ import annotations

from collections.abc import Callable






def        A       (      _lowerCamelCase       ,				_lowerCamelCase       ,				_lowerCamelCase       ,				_lowerCamelCase = 100       ,				):





							'''simple docstring'''




							_lowerCAmelCase  :							Tuple				     =					x_start
							_lowerCAmelCase  :							str				     =					fnc(_lowerCamelCase						)
							_lowerCAmelCase  :							int				     =					0.0
							for _ in range(_lowerCamelCase						):
														# Approximates small segments of curve as linear and solve
														# for trapezoidal area
														_lowerCAmelCase  :							Optional[int]				     =					(x_end - x_start) / steps + xa
														_lowerCAmelCase  :							Tuple				     =					fnc(_lowerCamelCase						)
														area += abs(fxa + fxa						) * (xa - xa) / 2
														# Increment step
														_lowerCAmelCase  :							Dict				     =					xa
														_lowerCAmelCase  :							Any				     =					fxa
							return area


if __name__ == "__main__":






						def        A       (      _lowerCamelCase						):





													'''simple docstring'''




													return x**3 + x**2

						print("f(x) = x^3 + x^2")
						print("The area between the curve, x = -5, x = 5 and the x axis is:")
						_snake_case	=						10
						while i <= 10_0000:
												print(f'''with {i} steps: {trapezoidal_area(f, -5, 5, i)}''')
												i *= 10





import requests
from bsa import BeautifulSoup






def        A       (      _lowerCamelCase = "https://www.worldometers.info/coronavirus"						):





							'''simple docstring'''




							_lowerCAmelCase  :							str				     =					BeautifulSoup(requests.get(_lowerCamelCase						).text       ,				"html.parser"						)
							_lowerCAmelCase  :							str				     =					soup.findAll("h1"						)
							_lowerCAmelCase  :							Optional[int]				     =					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''')
