LPTHW Exercise 41 Flashcards

Primary tabs

Aaron Johnson's picture

The Flashcards that pertain to exercise 41 of learning python the hard way.

Subjects: 

Bookmark to learn: Login to use bookmarks.

Bookmark to learn: Login to use bookmarks.

Add to collection ... add LPTHW Exercise 41 Flashcards to your collections:

Help using Flashcards ...just like in real life ;)

  1. Look at the card, do you know this one? Click to flip the card and check yourself.
  2. Mark card Right or Wrong, this card will be removed from the deck and your score kept.
  3. At any point you can Shuffle, Reveal cards and more via Deck controls.
  4. Continue to reveal the wrong cards until you have correctly answered the entire deck. Good job!
  5. Via the Actions button you can Shuffle, Unshuffle, Flip all Cards, Reset score, etc.
  6. Come back soon, we'll keep your score.
    “Repetition is the mother of all learning.”
  7. Signed in users can Create, Edit, Import, Export decks and more!.

Bookmark to learn: Login to use bookmarks.

Share via these services ...

Email this deck:

Right: #
Wrong: #
# Right & # Wrong of #

Class

Tell Python to make a new type of thing.

Object

Two meanings: the most basic type of thing, and any instance of some thing.

Instance

What you get when you tell Python to create a class.

'Def' or Define

How you define a function inside a class.

Self

Inside the functions in a class, self is a variable for the instance/object being accessed.

Inheritance

The concept that one class can inherit traits from another class, much like you and your parents.

Composition

The concept that a class can be composed of other classes as parts, much like how a car has wheels

Attribute

A property classes have that are from composition and are usually variables.

Is-a

A phrase to say that something inherits from another, as in a ”salmon” is-a ”fish.”

Has-a

A phrase to say that something is composed of other things or has a trait, as in ”a salmon has-a mouth.”

Subjects: