Week 10 & Week 11
In week 10, the university was closed Monday and Tuesday, and there was a term test on Wednesday, so we did not learn any new material this week. I found the term test was difficult: I feel that I need to practice more examples using recursion, as this is where my weakness was in the test.
In week 11, we covered how to go about hiding attributes in python and the built-in-function property (which uses a getter, setter, deleter, and docstring) used to give nuanced access (like making an attribute read-only). We also talked about equivalence and functions that reduce. I felt fairly confident about the material covered this week, although it might have helped if we were practiced these concepts in an exercise.
No comments:
Post a Comment