




from __future__ import annotations

from collections.abc import Generator

import requests
from bsa import BeautifulSoup

a__		     =     '''https://www.indeed.co.in/jobs?q=mobile+app+development&l='''





def 				A__ (snake_case   :		str = "mumbai"				)     ->						Generator[tuple[str, str], None, None]:
					__UpperCamelCase					:	Optional[Any]             =      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"""}				):
										__UpperCamelCase					:	Union[str, Any]             =      job.find("""a"""		,	attrs={"""data-tn-element""": """jobTitle"""}				).text.strip()
										__UpperCamelCase					:	Union[str, Any]             =      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]}")












def 				A__ (snake_case   :		int				)     ->						bool:
					if number < 0:
										raise ValueError("""number must not be negative"""				)
					return number & (number - 1) == 0


if __name__ == "__main__":
	import doctest

	doctest.testmod()






