Question: use python Suppose the text file called qbdata.txt contains the following data representing statistics about NFL quarterbacks. Although it would be possible to consider entering

use python
use python Suppose the text file called qbdata.txt contains the following data

Suppose the text file called qbdata.txt contains the following data representing statistics about NFL quarterbacks. Although it would be possible to consider entering this data by hand each time it is used, you can imagine that it would be timeconsuming and error-prone to do this. In addition, it is likely that there could be data from more quarterbacks and other years. The format of the data file is as follows: First Name, Last Name, Position, Team, Completions, Attempts, Yards, TDs Ints, Comp\%, Rating a)Write a program that prints the first name, lastname, and passer rating to construct a simplesentence ... for example ... Joe Black had a rating of 74.5. b)Write a program that prints the lastname followed by a comma and then the first name. c) Write a program that prints the first and last name of the highest rated player d)Write a program that prints the average number of yards per completed pass (divide yards by completions) and print out the last name, first name and then calculation. e)Print out the total number of players that completed over 300 passes

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!