Assignment 8

# Assignment 8 - Assignment 8 Due Wednesday November 25 at...

This preview shows pages 1–3. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Question 2: This question will revisit the movie rating system used in Assignment 4. Now, instead of defining a Scheme structure to store movie information, we will use a Python list as described below. A movie is a 3-element list m, where m[0] is a string for the movie title m[1] is a string for the movie genre (for example, “drama”, “comedy”, etc.) m[2] is a float between 0.0 and 10.0 for the movie's rating Suppose you have determined that your collection of movie ratings do have a bias towards dramas. As a result, you have decided to increase the ratings of all non-dramas by 10%. Write a function
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 6

Assignment 8 - Assignment 8 Due Wednesday November 25 at...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online