






"""simple docstring"""






def 						_UpperCamelCase			(  A    ,       A			):
   assert isinstance(A    ,       A			), f"""The input value of [set_a={set_a}] is not a set"""
   assert isinstance(A    ,       A			), f"""The input value of [set_b={set_b}] is not a set"""

   return {a + b for a in set_a for b in set_b}


if __name__ == "__main__":
    from doctest import testmod

    testmod()








"""simple docstring"""






from datetime import date

import requests

A_			  =    "https://api.carbonintensity.org.uk/intensity"




def 						_UpperCamelCase			(  ):
   UpperCamelCase_     =requests.get(A			).json()["data"][0]
   return last_half_hour["intensity"]["actual"]




def 						_UpperCamelCase			(  A    ,       A			):
   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() = }''')
