csvData = [['Person', 'Age'], ['Peter', '22'],
['Jasmine', '21'], ['Sam', '24']]
with open('sreedhar.csv', 'w') as csvFile:
writer = csv.writer(csvFile)
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
© WhatsMySuggestion 2020 All Rights Reserved.