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

Below is the person data

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
Get step-by-step solutions from verified subject matter experts
