This repo is a jazzed-up example of Project 1: Mad Libs for students taking 2nd Semester Intro to Computer Science through TEALS. It turns a random story from the front page of today's New York Times into a Mad Lib with Python 3. These additional bells and whistles are meant to show students all the different things you can do with the Python programming language.
The original version of this assignment, using the opening crawl from Star Wars, can be found in the Original branch.
In addition to the requirements in requirements.txt
, you will need your own API key to run this program. See[the developer website for instructions to obtain your own key.
Although there are other, arguabily better, ways to structure Python code, write docstrings, concatenate strings, etc, the conventions in this file reflect the current knowledge of students taking the course.