Editing Community Data Science Course (Spring 2023)/Week 2 lecture notes
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 78: | Line 78: | ||
** e.g., <code>min()</code> and <code>max()</code> | ** e.g., <code>min()</code> and <code>max()</code> | ||
** e.g., create a list of names and sort it <code>names.sort()</code> | ** e.g., create a list of names and sort it <code>names.sort()</code> | ||
** search "python lists" in any search engine to see many more functions that list knows about. | ** search "python lists" in any search engine to see many more functions that list knows about. | ||
=== | ===Exercise=== | ||
Figure out what the list function <code>pop</code> does. Confirm with your neighbor. Write an example to be sure. | Figure out what the list function <code>pop</code> does. Confirm with your neighbor. Write an example to be sure. |