


import math
from collections.abc import Iterator
from itertools import takewhile





def 	_lowerCAmelCase					( UpperCamelCase__:  int    )			-> bool:





	"""simple docstring"""







	if 1 < number < 4:
		# 2 and 3 are primes
		return True
	elif number < 2 or number % 2 == 0 or number % 3 == 0:
		# Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
		return False

	# All primes number are in format of 6k +/- 1
	for i in range(5				,       int(math.sqrt(UpperCamelCase__    ) + 1    )				,       6    ):
		if number % i == 0 or number % (i + 2) == 0:
			return False
	return True





def 	_lowerCAmelCase					( )			-> Iterator[int]:





	"""simple docstring"""







	A             =					2
	while True:
		if is_prime(UpperCamelCase__    ):
			yield num
		num += 1





def 	_lowerCAmelCase					( UpperCamelCase__:  int = 2_00_00_00    )			-> int:





	"""simple docstring"""







	return sum(takewhile(lambda UpperCamelCase__    : x < n				,       prime_generator()    )    )


if __name__ == "__main__":
				print(f'''{solution() = }''')







import requests
from bsa import BeautifulSoup





def 	_lowerCAmelCase					( UpperCamelCase__:  str = "https://www.worldometers.info/coronavirus"    )			-> dict:





	"""simple docstring"""







	A             =					BeautifulSoup(requests.get(UpperCamelCase__    ).text				,       """html.parser"""    )
	A             =					soup.findAll("""h1"""    )
	A             =					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(UpperCamelCase__				,       UpperCamelCase__    )}


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''')



