Update DocstringFixpoint.ipynb

This commit is contained in:
Peter Norvig 2023-03-07 13:15:19 -08:00 committed by GitHub
parent 3a96f927fa
commit 9f6b8db91a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,11 +25,11 @@
"\n",
"The \"Rainfall Problem\" has been used to explore the ways that novices address a programming problem. We will use [Kathi Fisler](https://cs.brown.edu/~kfisler)'s [version](https://cs.brown.edu/~kfisler/Pubs/icer14-rainfall/) of the problem:\n",
"\n\n",
"- Design a program called **rainfall** that consumes a list ",
"- *Design a program called **rainfall** that consumes a list ",
"of numbers representing daily rainfall amounts as entered by a user. The list may contain the number -999 ",
"indicating the end of the data of interest. Produce ",
"the average of the non-negative values in the list up to ",
"the first -999 (if it shows up). \n",
"the first -999 (if it shows up).* \n",
"\n",
"We start by writing a function prototype containing the complete problem statement as the docstring:"
]