Code Fellows 401
Day 04 Notes
Home
Reading
Classes and Objects
Thinking Recursively
Optional: Naive Recursion is Naive section and beyond
Pytest Fixtures and Coverage
Bookmark and Review
Pytest Fixtures
Things I want to know more about
- Classes are a way to define custom data types in Python.
- Classes define the structure and behavior of objects, which are instances of the class.
- Each class can have its own methods, which are functions that operate on the data of the class.
- Classes also have attributes, which are variables that hold data associated with the class.
- Classes can also have a constructor (init method) that gets called when a new object is created, and a destructor (del method) that gets called when an object is deleted.