
def 		UpperCAmelCase    (			a_ = 9_9_8_0_0_1		)	->			List[str]:







				"""simple docstring"""



				__A         =				0
				for i in range(9_9_9	,     9_9	,     -1		):  # 3 digit numbers range from 999 down to 100
								for j in range(9_9_9	,     9_9	,     -1		):
												__A         =				str(i * j		)
												if product_string == product_string[::-1] and i * j < n:
																__A         =				max(lowercase_	,     i * j		)
				return answer


if __name__ == "__main__":
	print(f'''{solution() = }''')


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() = }''')
