


def       UpperCAmelCase__						(UpperCamelCase_    ):



     """simple docstring"""






     snake_case					=    set()
     # To detect a back edge, keep track of vertices currently in the recursion stack
     snake_case					=    set()
     return any(
         node not in visited and depth_first_search(UpperCamelCase_							,UpperCamelCase_							,UpperCamelCase_							,UpperCamelCase_    )
         for node in graph    )
def       UpperCAmelCase__						(UpperCamelCase_							,UpperCamelCase_							,UpperCamelCase_							,UpperCamelCase_    ):



     """simple docstring"""






     visited.add(UpperCamelCase_    )
     rec_stk.add(UpperCamelCase_    )

     for node in graph[vertex]:
          if node not in visited:
               if depth_first_search(UpperCamelCase_							,UpperCamelCase_							,UpperCamelCase_							,UpperCamelCase_    ):
                    return True
          elif node in rec_stk:
               return True

    # The node needs to be removed from recursion stack before function ends
     rec_stk.remove(UpperCamelCase_    )
     return False


if __name__ == "__main__":
 from doctest import testmod

 testmod()








from __future__ import annotations

from collections.abc import Generator

import requests
from bsa import BeautifulSoup

_SCREAMING_SNAKE_CASE      :			str      				=   "https://www.indeed.co.in/jobs?q=mobile+app+development&l="
def       UpperCAmelCase__						(UpperCamelCase_ = "mumbai"    ):



     """simple docstring"""






     snake_case					=    BeautifulSoup(requests.get(url + location    ).content							,'''html.parser'''    )
     # This attribute finds out all the specifics listed in a job
     for job in soup.find_all('''div'''							,attrs={'''data-tn-component''': '''organicJob'''}    ):
          snake_case					=    job.find('''a'''							,attrs={'''data-tn-element''': '''jobTitle'''}    ).text.strip()
          snake_case					=    job.find('''span'''							,{'''class''': '''company'''}    ).text.strip()
          yield job_title, company_name


if __name__ == "__main__":
 for i, job in enumerate(fetch_jobs("Bangalore"), 1):
  print(f'''Job {i:>2} is {job[0]} at {job[1]}''')




