



'''simple docstring'''

from __future__ import annotations

from collections.abc import Generator

import requests
from bsa import BeautifulSoup

SCREAMING_SNAKE_CASE__     :						List[Any]	=  '''https://www.indeed.co.in/jobs?q=mobile+app+development&l='''






def 				a  (     UpperCamelCase_    :    str = "mumbai"			)       ->	Generator[tuple[str, str], None, None]:
		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]}""")









'''simple docstring'''

from __future__ import annotations

SCREAMING_SNAKE_CASE__     :						List[Any]	=  1.6021e-19  # units = C






def 				a  (     UpperCamelCase_    :    float      ,					UpperCamelCase_    :    float      ,					UpperCamelCase_    :    float      ,					)       ->	tuple[str, float]:
		if (conductivity, electron_conc, mobility).count(0			) != 1:
				raise ValueError('You cannot supply more or less than 2 values'			)
		elif conductivity < 0:
				raise ValueError('Conductivity cannot be negative'			)
		elif electron_conc < 0:
				raise ValueError('Electron concentration cannot be negative'			)
		elif mobility < 0:
				raise ValueError('mobility cannot be negative'			)
		elif conductivity == 0:
				return (
				    "conductivity",
				    mobility * electron_conc * ELECTRON_CHARGE,
				)
		elif electron_conc == 0:
				return (
				    "electron_conc",
				    conductivity / (mobility * ELECTRON_CHARGE),
				)
		else:
				return (
				    "mobility",
				    conductivity / (electron_conc * ELECTRON_CHARGE),
				)


if __name__ == "__main__":
			import doctest

			doctest.testmod()




