Skip to content

Fix inconsistent parameter comments in the OOP lecture #651

Open

Description

@Li-Zhuo-Ran

In lectures/python_oop.md, two comments appear inconsistent with the surrounding examples:

  • The Solow model prose identifies α as capital’s share of income, but the Solow.__init__ parameter comment labels α as the “share of labor”. Since the production term is k**α, the code comment should match the capital-share description.
  • The example constructs Chaos(0.1, 4.0) but its inline comment says r = 0.4.

Please correct these comments so readers are not taught contradictory parameter values.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions