CSC111 Homework 11 2018
D. Thiebaut (talk) 20:58, 19 April 2018 (EDT)
Make-Up Homework 11
This homework is a make-up homework. You can use it to replace the lowest grade you have received on Homework Assignments 1 to 10.
Here is the algorithm explaining how this works:
hws = [ HW1, HW2, HW3, HW4, HW5, HW6, HW7, HW8, HW9, HW10 ] if HW11 != None: # if you have submitted HW11 minHW = min( hws ) if HW11 > minHW: hws.remove( minHW ) hws.append( HW11 ) # drop lowest, as specified in syllabus minHW = min( hws ) hws.remove( minHW ) # compute average homework grade avgHW = sum( hws )/len( hws )
Assignment
- Write a program that gets the contents of the CSV file at the URL http://cs.smith.edu/~dthiebaut/111/collegeScorecard.csv
- This file contains data about 7,594 colleges and universities in the U.S.