Values in the file contains in each line

Assignment Help Business Management
Reference no: EM131700546

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

Questions Cloud

How many have thought about where your food comes from : Assignment: Informative Speech. Genetically Modified Organisms By Michael Whites. How many of you have thought about where your food comes from?
Explains what silence suppression is : explains what silence suppression is, why silence suppression is used, what could be used instead of silence suppression
Almost like a mini convention of type a personalities : Controller Pete Rogers says that any gathering of air traffic controllers is "almost like a mini convention of Type A personalities."
Determine the advantage of lower labor costs : After the passage of NAFTA, many U.S. companies shifted production operations to Mexico to take advantage of lower labor costs and lower standards.
Values in the file contains in each line : 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 total variable overhead : If the company's cost per unit of finished goods using variable costing is $63, what is total variable overhead
The development of accenture development : In what ways has Gib Bulloch performed all three intrapreneurial roles -- inventor, product champion, and sponsor -- in the development of Accenture Development
Occurrence of max numbers : Write program that reads integers, finds the largest of them, and counts its occurrences. Assume that the input ends with number 0.
What do you think about the debate and what is your position : What do you think about the debate and what is your position? Why do you believe your position is sustainable or defensible?

Reviews

Write a Review

Business Management Questions & Answers

  Database management class

SQL Server 2012 for a database management class. Identity_insert isn't working. I can see it set properly in the config, but isn't resetting the generated value to 1, like I need it. Looked online and found a query, but obviously there are some pr..

  Confident in the fact that permissions

All appears to be well with the move, so you turn of your cell phone and go to lunch, confident in the fact that permissions were inherited.

  Identify an organization and project focus

For this project, you will be conducting an in-depth issues management assessment for an organization. This can be for any organization - one that you already work for, one that you're familiar with, or one that you're interested in. Your issues a..

  Explain why communication is essential in an organization

Explain why communication is essential in an organization. Explain the types of situations where each channel or technique would be most effective.

  Explain the equity theory of motivation

Explain the equity theory of motivation. Describe the measures managers take to address the various equity issues.

  Motivating and engaging to learn bad learning experience

motivating and engaging to learn bad learning experience adult learning theories motivation to participate commitment

  Compare and discuss four definitions of leadership

Explain what do they have in common and what are the differences and is it important that you and your colleagues agree on the same definition

  What other factors affect small-business confidence

The Index of Small Business Optimism declined 3 points in June 2012, falling to 91.4 and losing gains achieved earlier in the year, according to the NFIB.

  Statement analysis and operational analysis

What is the primary difference between financial statement analysis and operational analysis?

  Short-term financing

Imagine you are an entrepreneur with a new idea and would like to start a business with your idea, but lack capital. Go to the U.S. Small Business Administration's Website, located athttp://www.sba.gov/content/sbic-program, and read about the Small..

  Explain and identify type of personality

Based on the inventory results, identify your type of personality, and the type of communication you prefer based on your style. Assess the adaptations you must make in order to effectively communicate with the other styles/personalities

  Discuss the role of ethics in gathering competitive data

discuss The role of ethics in gathering competitive data and The role/s within an organization that bear responsibility to ensure ethical behavior when conducting external organizational analysis.

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