Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started