LPTHW Exercise 41 Flashcards (Phase Drills)

Primary tabs

Aaron Johnson's picture

Phase Drill flash cards

Subjects: 

Bookmark to learn: Login to use bookmarks.

Statistics

'Repetition is the mother of all learning.'

Bookmark to learn: Login to use bookmarks.

Add to collection ... add LPTHW Exercise 41 Flashcards (Phase Drills) 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 X(Y)

Make a class named X that is-a Y.

class X(object): def __init__(self, J)

class X has-a __init__ that takes self and J parameters.

class X(object): def M(self, J)

class X has-a function named M that takes self and J parameters.

foo = X()

Set foo to an instance of class X.

foo.M(J)

From foo get the M function, and call it with parameters self, J.

foo.K = Q

From foo get the K attribute and set it to Q.

Subjects: