Loading [MathJax]/extensions/mml2jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Set as Cover Page of Book
    • License
    • Show TOC
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
    • Print CSS
  • Include attachments
Searching in
About 1 results
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/13%3A_Inheritance/13.02%3A_Attribute_Access
    This page outlines learning objectives for implementing subclasses in Python, detailing how they can inherit attributes from superclasses and define instance attributes in their `__init__()` method. I...This page outlines learning objectives for implementing subclasses in Python, detailing how they can inherit attributes from superclasses and define instance attributes in their `__init__()` method. It includes examples of subclass creation, attribute access, and display method modification. The page also offers practical exercises that encourage readers to apply these concepts, specifically through the Dessert and Cupcake example.

Support Center

How can we help?