Oct-04-2017, 04:44 AM
(This post was last modified: Oct-04-2017, 04:45 AM by PythonNewbster.)
nilamo you are correct, eventually I am going to write it to a csv file. I thought it would be easier as a proof of concept to just print it to the screen first instead of having to keep reopening a file.
I am having trouble with this code...
I am having trouble with this code...
for dicts in data: first = True for key in dicts: if not first: print(", ", end="") first = False print(dicts[key], end="") print()It is suggesting an unexpected indent at the last print.