



import sys
import webbrowser

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

if __name__ == "__main__":
       print("""Googling.....""")
       lowercase_						=       """https://www.google.com/search?q=""" + """ """.join(sys.argv[1:])
       lowercase_						=       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_0000):
                     out_file.write(data)
       lowercase_						=       BeautifulSoup(res.text, """html.parser""")
       lowercase_						=       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")}')









from graphs.minimum_spanning_tree_kruskal import kruskal



def __lowerCAmelCase	(       ):
			lowercase__   					=			9
			lowercase__   					=			[
			    [0, 1, 4],
			    [0, 7, 8],
			    [1, 2, 8],
			    [7, 8, 7],
			    [7, 6, 1],
			    [2, 8, 2],
			    [8, 6, 6],
			    [2, 3, 7],
			    [2, 5, 4],
			    [6, 5, 2],
			    [3, 5, 14],
			    [3, 4, 9],
			    [5, 4, 10],
			    [1, 7, 11],
			]

			lowercase__   					=			kruskal(SCREAMING_SNAKE_CASE_  ,					SCREAMING_SNAKE_CASE_					)

			lowercase__   					=			[
			    [7, 6, 1],
			    [2, 8, 2],
			    [6, 5, 2],
			    [0, 1, 4],
			    [2, 5, 4],
			    [2, 3, 7],
			    [0, 7, 8],
			    [3, 4, 9],
			]

			assert sorted(SCREAMING_SNAKE_CASE_					) == sorted(SCREAMING_SNAKE_CASE_					)




