Re: [Tutor] Writing for loop output to csv

2018-09-06 Thread Peter Otten
Cameron Simpson wrote: > On 06Sep2018 12:32, Brandon Creech wrote: >>Hi, I am working to forecast the temperatures for the next 5 days using an >>API and a for loop. I would like write the output of this loop to a csv in >>this format:: >> >>Columns: City, min1, max1, min2, max2,min3,max3,min4,ma

Re: [Tutor] Writing for loop output to csv

2018-09-06 Thread Cameron Simpson
On 06Sep2018 12:32, Brandon Creech wrote: Hi, I am working to forecast the temperatures for the next 5 days using an API and a for loop. I would like write the output of this loop to a csv in this format:: Columns: City, min1, max1, min2, max2,min3,max3,min4,max4,min5,max5 data: Athens,

Re: [Tutor] Writing for loop output to csv

2018-09-06 Thread Alan Gauld via Tutor
On 06/09/18 17:32, Brandon Creech wrote: > Hi, I am working to forecast the temperatures for the next 5 days using an > API and a for loop. I would like write the output of this loop to a csv in > this format:: > > Columns: City, min1, max1, min2, max2,min3,max3,min4,max4,min5,max5 > data: