Think Python –– 17.5 The init method - Allen Downey

This quote was added by keynasty
The init method (short for "initialization") is a special method that gets invoked when an object is instantiated. It's full name is __init__ (two underscore characters, followed by init, and then two more underscores). It is common for the parameters of __init__ to have the same names as the attributes. The parameters are optional.

Train on this quote


Rate this quote:
2.5 out of 5 based on 4 ratings.

Edit Text

Edit author and title

(Changes are manually reviewed)

or just leave a comment:


Test your skills, take the Typing Test.

Score (WPM) distribution for this quote. More.

Best scores for this typing test

Name WPM Accuracy

Recently for

Name WPM Accuracy