



'''simple docstring'''






def 				snake_case_  (      _lowerCAmelCase						:		float     ,   _lowerCAmelCase						:		float						)   ->     float:
							if mass < 0:
														raise ValueError('''The mass of a body cannot be negative'''						)
							return 0.5 * mass * abs(_lowerCAmelCase						) * abs(_lowerCAmelCase						)


if __name__ == "__main__":
						import doctest

						doctest.testmod(verbose=True)










'''simple docstring'''






from __future__ import annotations

from collections.abc import Generator

import requests
from bsa import BeautifulSoup

UpperCamelCase__:     Union[str, Any]										=    "https://www.indeed.co.in/jobs?q=mobile+app+development&l="


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





