Use the pandas library
import pandas as pd
a = 3
mylist = [{'a': 1, 'b': 2}, {'c': 3, 'd': 4}, {'e': 5, 'f': 6}]
# Create an empty dataframe
df = pd.DataFrame()
for i, l in zip(mylist, range(a)):
result = 'Result : ' + str(l)
for key, value in i.items():
# Append the result and key-value pairs to the dataframe
df = df.append({'Result': result, 'Key': key, 'Value': value}, ignore_index=True)
# Save the dataframe to an Excel file
df.to_excel('output.xlsx', index=False)
Output :