Average of all the ages found in the input file

Assignment Help Business Management
Reference no: EM131696948

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: EM131696948

Questions Cloud

Discuss the limitations policies have on government power : Discuss the limitations policies have on government power. Assess importance of policy analysis during development and implementation stages of public policy.
Perform functions in linux distribution : Linux shells are used to enter commands to perform functions in your Linux distribution.
Difference between clustering and classification : 1. Explain the difference between clustering and classification. 2. Describe the k-means algorithm.
What code for eigrp route sources : What code for EIGRP route sources is found in the routing table? What is the difference between an internal and an external EIGRP route source?
Average of all the ages found in the input file : In Class Age, create the method ReckonAge, used to get the sum and the average of all the ages found in the input file;
Business need to do to satisfy the objectives : Provide a project description that explains the purpose of the project. Be sure to address the following:]
Identify community issue and community intervention strategy : Write an essay to compare and contrast the different methods and processes of identifying community issues and community intervention strategies.
Common tools for dealing with each problem : Which do you think poses greater problems for a network support specialist: the extensive cables required in a wired network or the security problems
Major issues related to the users : In the requirements analysis stage, what are the major issues related to the users?

Reviews

Write a Review

Business Management Questions & Answers

  Presume that a country requires special inspections

Presume that a country requires special inspections on an imported food however it exempts domestic production from similar inspection

  What type of leadership style do you believe

Effective Leadership Style - What type of leadership style do you believe would be most effective in your past or present organization?

  Contrast the rational and political approaches

Would the manager quoted here be likely to use a rational or a political approach to appraisal? Contrast the rational and political approaches. To illustrate what extent is it possible to separate the two?

  Examine the planning function of management

The purpose of this assignment is to examine the planning function of management and analyze how various factors such as culture.

  Batch production method in black soap shampoo

What is the rational for saying that alikay naturals use batch production method in black soap shampoo

  Activities of an amazon distribution center

Write a simple work flow work flow listing the inputs and outputs activities of an amazon distribution center.

  Differing cultural attitudes of company

Locate two companies that have crossed borders to form an alliance. Discuss how the differing cultural attitudes of each company's host country could influence how the alliance operates.

  Would you go to battle without a contingency plan

Would you go to "battle" without a contingency plan? Can you decide on your leaving point without forming your BATNA first? Would you "Share/Disclose" your BATNA with the other side?

  Can the court exercise personal jurisdiction

All of the formwork was done in Louisiana. Poverty Point has no offices, bank accounts or phone listings in Texas. It does not advertise or solicit business in Texas. Despite these facts, can the court exercise personal jurisdiction?

  Author of financial management mentions

The author of Financial Management mentions seven issues that have to be kept track of during a comprehensive cash flow estimation process.

  Major elements of the promotion mix

Refer to SME Ads Inc. As Steven plans to expand the company's focus to other major elements of the promotion mix, which of the following should he focus on if he wants to help his clients create and maintain favorable relationships between them an..

  Describing the nature and extent of knowledge management in

describing the nature and extent of knowledge management in walmartplease assist me in describing the nature and extent

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