Implement a class named age class age has the method named


Create PYTHON program with the following features:

1) Implement a class named Age; Class Age has the method named ReadFile to read the file input.txt; the values in the file contains in each line: first name, last name, age.

2) In Class Age, create the method ReckonAge, used to get the sum and the average of all the ages found in the input file;

3) In Class Age, create the method Output used to print on the screen and also into the file output.txt each of the ages found in the input.txtand also the total sum of all ages and average age; then make the greetings: (average <= 50) "YOUNG GROUP", (average >50 and <100) "GOOD AGE GROUP", (average >=100) "TELL THE SECRET";

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Implement a class named age class age has the method named
Reference No:- TGS02500529

Now Priced at $15 (50% Discount)

Recommended (97%)

Rated (4.9/5)