Question: python writing to a file i have 4 lists list1=[1,2,3,4,5] list2=[4,5,6,5,8] list3=[0,0,0,0,0,] list4=[8,0,0,8,5] i want to create and write a textfile called list text with

python writing to a file

i have 4 lists list1=[1,2,3,4,5] list2=[4,5,6,5,8] list3=[0,0,0,0,0,] list4=[8,0,0,8,5] i want to create and write a textfile called "list text" with a title at te top saying "my lists" then vertically down the page the 4 lists next to each other. with a header at the top of each 1 like...

my lists list 1 list 2 list 3 ....... 1 4 0 ..... 2 5 0 ...... 3 6 0 ........ 4 5 0 ...... 5 8 0 ..........

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!