DUE IN 6 HRS!!!!!!!! You are the nutritional coach for a local high school football team. You realize that some of the players are not

DUE IN 6 HRS!!!!!!!! You are the nutritional coach for a local high school football team. You realize that some of the players are not up to par having returned from summer break. Realizing nutrition plays a key in a productive team, you decide to implement a Body Mass Index Program. Write a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows: BMI = Weight *703 / Height^2 Note: Height^2 means, the value of Height raised to the power of 2. Remember, changing a value that has been passed into a function does not change the original value. Data passed into functions are only copies of the original value. Remember to follow the guidelines of good program design. Make sure to use meaningful variable names, include comments as needed, and provide thoughtful output. Remember, while you can pass as many arguments into a function as you want, but a function can only return one thing at a time. Ideally, to use a function to modify a variable or object, you will pass that object into the function, along with any other needed information to make the modifications, make the modifications to the new local copy of the object inside of the function, and then return the modified object. Thus, you will overwrite the original object with the returned modified object. C:\>python week3.py Welcome to the BMI Index Calculator. begin by entering the student’s name, or 0 to quit: Nathan enter student’s height in inches: 70 enter student’s weight in pounds: 135 Nathan ‘s BMI profile: ———————– Height: 70″ Weight: 135 lbs. BMI Index: 19.4 Enter next student’s name or 0 to quit: Toby enter student’s height in inches: 73 enter student’s weight in pounds: 310 Toby ‘s BMI profile: ———————– Height: 73″ Weight: 310 lbs. BMI Index: 40.9 Enter next student’s name or 0 to quit: 0 Exiting program… #2 You are in charge of managing a local softball team, one in which there is a lot of turnover. While you have a couple of regulars, much of the team members come and go frequently. When it comes to organizing games, it is becoming more and more difficult to keep track of the current members, so you decide to write a small program to you track the current players. Write a modularized program that will utilize a main menu to control the program’s functions and a list to store the members of your team. The following functions that your program needs to include: Remeber that you can create a function using ‘def.’ In other words, for adding a new member, you will need a function similar to: def aaddmember. Since we have not covered File Access, do not worry about long term storage for your list. Each time you run the program, you will have to create a new list. You are welcome to skip ahead to the File I/O if you would like to tackle this additional functionality, but file access is NOT required for this assignment. Tips: The menu logic will use the same structure as your previous programs. A single variables will be used as the control value, and based on what the user entered as the control value, will determine the course of action taken inside of the loop. C:\>python week4.py Welcome to the Team Manager ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 9. Exit Program. Selection> 2 Enter new member’s name: Nathan ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 9. Exit Program. Selection> 2 Enter new member’s name: Toby ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 9. Exit Program. Selection> 1 Nathan Toby ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 9. Exit Program. Selection> 3 Enter member name to be removed: Toby ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 9. Exit Program. Selection> 1 Nathan ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 9. Exit Program. Selection> 4 Enter the name of the memeber you want to edit: Nathan Enter the new name of the member: Nathan Braun ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 9. Exit Program. Selection> 1 Nathan Braun ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 9. Exit Program. Selection> 9 Exiting Program… #3 Until now, you have had to leave your team management program running on your computer indefinitely since you did not want to lose the list of players. Finally, you are ready to add the components to your team management program that will allow you to store the player’s information on your computer’s hard drive, thus, allow you to shut down your program without losing your data. Tips: Think about how you are going to write the data to the text file when you create the load function. Your write function needs to read in the data in the same pattern as the load function, otherwise the data will get jumbled. C:\>python week6.py Welcome to the Team Manager ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 5. Save Data. 6. Load Data. 9. Exit Program. Selection> 2 Enter new member’s name: Nathan Contact phone number: 505-908-0670 Jersey number: 21 ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 5. Save Data. 6. Load Data. 9. Exit Program. Selection> 2 Enter new member’s name: Bobby Contact phone number: 541-241-0670 Jersey number: 44 ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 5. Save Data. 6. Load Data. 9. Exit Program. Selection> 5 Filename to save: members.txt Saving data… Data saved. ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 5. Save Data. 6. Load Data. 9. Exit Program. Selection> 9 Exiting Program… C:\>python week6.py Welcome to the Team Manager ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 5. Save Data. 6. Load Data. 9. Exit Program. Selection> 1 No current members in memory. ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 5. Save Data. 6. Load Data. 9. Exit Program. Selection> 6 Filename to load: members.txt Loading data… Data Loaded Successfully. ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 5. Save Data. 6. Load Data. 9. Exit Program. Selection> 1 Name: Bobby Phone: 541-241-0670 Jersey Number: 44 Name: Nathan Phone: 505-908-0670 Jersey Number: 21 ===========Main Menu=========== 1. Display Team Roster. 2. Add Member. 3. Remove Member. 4. Edit Member. 5. Save Data. 6. Load Data. 9. Exit Program. Selection>9 Exiting Program…

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer