tried so many methods to get the output
import pandas as pd
numbers= []
for i in range(100,5100,100):
numbers.append((30,i))
df = pd.DataFrame(list(zip(*[numbers])))
df.to_csv('file.csv',header=False,index=False,index_label=None
output of this program:
file.csv:
"(30, 100)"
"(30, 200)"
"(30, 300)"
"(30, 400)"
"(30, 500)"
"(30, 600)"
"(30, 700)"
but actual output I want
file.csv:
30,100
30,200
30,300
30,400
30,500
30,600