New Module API¶
I am able to get autodocs to build the module API in a new page too
-
class
new_module.
Customer
(name, balance=-1000.0)¶ Bases:
object
I am modifying the module to update the starting balance
A customer of ABC Bank with a checking account. Customers have the following properties:
- Attributes:
- name: A string representing the customer’s name. balance: A float tracking the current balance of the customer’s account.
-
deposit
(amount)¶ Return the balance remaining after depositing amount dollars.
-
withdraw
(amount)¶ Return the balance remaining after withdrawing amount dollars.