Implement a class named age

Assignment Help Basic Computer Science
Reference no: EM131705006

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";

Reference no: EM131705006

Questions Cloud

Order winners and qualifiers are characteristics of customer : Order winners and qualifiers are characteristics of the customer or the firm.
Memory or many bits of data transmission speed : In computing literature, the value represented by the prefixes kilo, mega, giga and so on can vary depending on whether they are describing
Determine the reporting capital assets and long-term debt : Describe the difference in reporting capital assets and long-term debt in the governmental funds financial statements and reporting those elements.
Tax return preparation during the busy season : Juan's Pro-Tax Service is deciding whether to buy software to expedite some of its tax return preparation during the busy season.
Implement a class named age : 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
What is the difference between project and operations : What is the difference between a Project and Operations? Briefly explain the types of constraints that are common to most Projects.
Summarize bronfenbrenners ecological model : Summarize Bronfenbrenner's ecological model and describe why it is important for them to be aware of this theory.
Making the budgetary comparison statement : Which basis of accounting is used in preparing the budgetary comparison statement?
Discuss society is moving toward regarding cigarette smoking : what is deviant varies from time to time and from place to place. Some people feel that our society is moving toward regarding cigarette smoking

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Translate the following function into mips assembly language

Translate the following function into MIPS assembly language

  Develop an analytic formula for its price

A trigger FRA is a FRA that comes into existence if and only if the forward rate is above H at the start of the FRA. Develop an analytic formula for its price if the forward rate follows geometric Brownian motion.

  Distinguish between concurrent and simultaneous

Distinguish between concurrent and simultaneous. A single processor can execute two or more programs concurrently but not simultaneously

  Showing web page to participants in real time

Purchasing/leasing/outsourcing hardware versus purchasing/licensing software (including its multilingual versions)

  Calculate the mean median and standard deviation

Calculate the mean, median, and standard deviation of age and %fat.

  Sketch hierarchy chart and draw logic for program

Sketch the hierarchy chart and draw the logic for program which comprises housekeeping, detail loop and end-of-job modules and which computes service charge customers.

  Describe the physical architecture of system

How do the nonfunctional requirements affect your architectural choices - Describe the physical architecture of this system and explain how it accommodates those quality requirements.

  Determining asymptotic formula for recurrence equations

Give an asymptotic formula for each of the recurrence equations given below, using big "Θ" rather than just big "O" for better results when possible.

  What is the purpose of the humm factor

How do functional, cross-functional, and problem-solving teams differ from each other?

  What is the total number of available memory locations

. What is the total number of available memory locations?

  Describe the significance of file formats

Group these extensions into the following categories: system files, graphics files, sound files, text files, other.

  Write the equation of the orbit of the satellite

A satellite orbiting Earth follows an elliptical path with Earth at its center. The eccentricity of the orbit is 0.2, and the major axis is 12,000 miles long. Assuming that the center of the ellipse is the origin and the foci lie on the x-axis, wr..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd