Question: any help with this python program Below is the person data Understand & remember that printing out on the console is different from writing in

any help with this python program

any help with this python program Below is the person data Understand

Below is the person data

& remember that printing out on the console is different from writing

Understand & remember that printing out on the console is different from writing in a file. Write a program that should read from the text file "Persondata.txt". It should ignore the first two lines read from that file. Then for the rest of the lines in the "personData.txt", it should do the following: (i) Get the name, emoji, age, income from each line. (ii) Write only the name, age and income to a new file "OutputData.txt". (iii) Keep a running total of the age and the income. (iv) Finally calculate and write the average age and the average income. (v) Write the average age and the average income back to the file "OutputData.txt" name (12 characters)_emoji(4 characters)_age (3 characters) income (rest of the characters) Happy, Doc :-) Grumpy, Doc :-( Normal, Doc 1:-) Sneezy, Doc :

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!