





'''simple docstring'''


def 							UpperCAmelCase_  (						__lowerCamelCase					:					int	,__lowerCamelCase					:					int ):
   return int(input_a == input_a == 0 )
def 							UpperCAmelCase_  (						):
   print("Truth Table of NOR Gate:" )
   print("|   Input 1   |  Input 2  | Output |" )
   print(F'|      0      |    0      |  {nor_gate(0	,0 )}     |' )
   print(F'|      0      |    1      |  {nor_gate(0	,1 )}     |' )
   print(F'|      1      |    0      |  {nor_gate(1	,0 )}     |' )
   print(F'|      1      |    1      |  {nor_gate(1	,1 )}     |' )


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 main()









'''simple docstring'''


import sys
import webbrowser

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

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


