

import sys
import webbrowser

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

if __name__ == "__main__":
	print("""Googling.....""")
	lowerCAmelCase__	   = """https://www.google.com/search?q=""" + """ """.join(sys.argv[1:])
	lowerCAmelCase__	   = requests.get(url, headers={"""UserAgent""": UserAgent().random})
	# res.raise_for_status()
	with open("""project1a.html""", """wb""") as out_file:  # only for knowing the class
		for data in res.iter_content(1_0_0_0_0):
			out_file.write(data)
	lowerCAmelCase__	   = BeautifulSoup(res.text, """html.parser""")
	lowerCAmelCase__	   = list(soup.select(""".eZt8xd"""))[:5]

	print(len(links))
	for link in links:
		if link.text == "Maps":
			webbrowser.open(link.get("""href"""))
		else:
			webbrowser.open(f"""https://google.com{link.get('href')}""")




import math

lowerCAmelCase__	   = 1_0
lowerCAmelCase__	   = 7
lowerCAmelCase__	   = BALLS_PER_COLOUR * NUM_COLOURS



def 					lowerCAmelCase__							(	SCREAMING_SNAKE_CASE_:							int = 2_0      )			->      str:




				'''simple docstring'''





				A__        =			math.comb(SCREAMING_SNAKE_CASE_	,       SCREAMING_SNAKE_CASE_      )
				A__        =			math.comb(NUM_BALLS - BALLS_PER_COLOUR	,       SCREAMING_SNAKE_CASE_      )

				A__        =			NUM_COLOURS * (1 - missing_colour / total)

				return F'{result:.9f}'


if __name__ == "__main__":
	print(solution(2_0))

