I'm trying to put my dictionary of information in a CSV file, but I want it to be this way: each key and its values in the same column. This method gives each key and its value in the same row, I need to put key and value in the same column Can anyone help, please? Thank you
for key, val in d.items():
w.writerow([key, val])
output.close() ```