You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.3 KiB
37 lines
1.3 KiB
###  Python Programming
|
|
|
|
<!---
|
|
This assignment was developed by Susi and Cody
|
|
|
|
Questions? Comments?
|
|
1. Log an issue to this repo to alert me of a problem.
|
|
2. Suggest an edit yourself by forking this repo, making edits, and submitting a pull request with your changes back to our master branch.
|
|
3. Hit me up on Slack at @Zoe Lubitz .
|
|
--->
|
|
|
|
# Unit 4 Lab: Carefully Adding a Bit More Logic
|
|
|
|
## Overview
|
|
Welcome to the Unit 4 lab!
|
|
|
|
Our goal is that, at the end of the next lab (you're almost there!), your app makes it possible for users to search for a movie and print out either the Rotten Tomatoes rating or the search results.
|
|
|
|
Let's get a little closer. We still have hard-coded values, but in the next lab we'll actually get the real ratings. For now, let's incorporate some error-catching.
|
|
|
|
------------
|
|
|
|
## Deliverables
|
|
|
|
You're going to continue building this locally. We've copied over solution code from the previous lab as a starting point for this lab.
|
|
|
|
## Requirements
|
|
|
|
1. Your `get_movie_rating` takes a source argument and prints a message if the source isn't found.
|
|
1. Your `Movie`'s `rating` holds a list of dictionaries.
|
|
|
|
---
|
|
|
|
## Directions
|
|
|
|
See the markdown cells within the `starter.ipynb` notebook for directions.
|