Problem Set 4: Quarterback Rating

Web-CAT: Submit Python programs to this automated grading platform.

Task Outline

Background Theory


a = (1.0*comps/attempts - 0.3) * 5
b = (1.0*yards/attempts - 3) * 0.25
c = 20.0 * tdowns/attempts
d = 2.375 - (25.0 * picks/attempts)
rating = ((a + b + c + d) / 6.0) * 100

Code Distribution

Description File Size File Name
Python Source Code for Quarterback Rating 1.4KB pset04.zip

Contents of pset04.zip:

PSet04QuarterbackRating/
├── quarterbackrating.py
└── testquarterbackrating.py

Specification

Testing

Submission