Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In python 3.4 I need to generate a file let\'s call it (startup.py) the file nee

ID: 3888491 • Letter: I

Question

In python 3.4 I need to generate a file let's call it (startup.py) the file needs to put data into a csv It needs to meet the following requirments:

1.)File must be 1GB in size and not go over it ( so 1024**3)
2.) Have five columns (five csv columns (id,integer,mix,stringA,stringB))
3.) id should be auto incrementing 
4.) mix should he a combo of letters and numbers 
5.) integer should be a random assigned number 1-10
6.) stringA and stringB need to be characters of length 1-32
7.) the output file should have a header row use a comma as a delimiter 
8.) the csv should be called numbers

I just am not sure how to program it in python please help me. I just need to send data to a csv in python with those requirements. if someone can generate the csv fornme in python I would appreciate I am trying to understand csv and python code

Explanation / Answer

Below is code is given for creating CSV file.

Things to know:

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote