
def 		UpperCAmelCase    (			a_	,     a_		)	->			float:







				"""simple docstring"""



				__A         =				float()
				try:
								__A         =				mass * acceleration
				except Exception:
								return -0.0
				return force


if __name__ == "__main__":
					import doctest

					# run doctest
					doctest.testmod()

					# demo
					SCREAMING_SNAKE_CASE							:Optional[Any]											=       12.5
					SCREAMING_SNAKE_CASE							:List[Any]											=       10
					SCREAMING_SNAKE_CASE							:List[Any]											=       newtons_second_law_of_motion(mass, acceleration)
					print('The force is ', force, 'N')


from datetime import date

import requests

SCREAMING_SNAKE_CASE							:str											=       'https://api.carbonintensity.org.uk/intensity'


def 		UpperCAmelCase    (			)	->			str:







				"""simple docstring"""



				__A         =				requests.get(a_		).json()["data"][0]
				return last_half_hour["intensity"]["actual"]


def 		UpperCAmelCase    (			a_	,     a_		)	->			list:







				"""simple docstring"""



				return requests.get(F'''{BASE_URL}/{start}/{end}'''		).json()["data"]


if __name__ == "__main__":
					for entry in fetch_from_to(start=date(2020, 10, 1), end=date(2020, 10, 3)):
										print('from {from} to {to}: {intensity[actual]}'.format(**entry))
					print(f'''{fetch_last_half_hour() = }''')
