What Did we Learn and What to Expect in Assignment 7

Summary

Students are now expected to be able to:

  • Describe what Python libraries are, as well as explain when and why they are useful.
  • Identify where code can be improved concerning variable names, magic numbers, comments and whitespace.
  • Write code that is human readable and follows the black style guide.
  • Import files from other directories.
  • Use pytest to check a function’s tests.
  • When running pytest, explain how pytest finds the associated test functions.
  • Explain how the Python debugger can help rectify your code.

Attribution

The cereal dataset:

80 Cereals” (c) by Chris Crawford is licensed under Creative Commons Attribution-ShareAlike 3.0 Unported

On to Assignment 7!