12.1. Basic exercises

These assignments are modified versions of the assignment in the Google introduction to Python.

  1. string1.py – complete the string functions in string1.py, based on the material in the Python Strings section (additional exercises available in string2.py )
  2. list1.py – complete the list functions in list1.py, based on the material in the Python Lists and Python Sorting sections (additional exercises available in list2.py)
  3. wordcount.py – this larger, summary exercise in wordcount.py combines all the basic Python material in the above sections plus Python Dicts and Files (a second exercise is available in mimic.py )