Question: Using Python 3.5.2 and IDLE Create a .txt file named HoustonAstros. Using the Houston Astros stats page for 2017: http://www.foxsports.com/mlb/houston-astros-team-roster?season=2017 Copy the game statistics into

Using Python 3.5.2 and IDLE

Create a .txt file named HoustonAstros. Using the Houston Astros stats page for 2017: http://www.foxsports.com/mlb/houston-astros-team-roster?season=2017 Copy the game statistics into a text document. Clean up the document so that there are rows of only names and data. You can also take out the apostrophes and quotes in height and the dollar sign and commas in the salary Write a program that finds and writes to a file named astros.txt the labeled output: Average age of all players Average weight of all players Name and position of the player with the highest salary Name and position of the player with the lowest salary Name and position of the oldest and youngest players

I just need help writing a program to get the averages

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!