Need help on a project To :"Create a class called BankAccount with the following parameters "

Ben Finney ben+python at benfinney.id.au
Sun Mar 13 21:08:50 EDT 2016


chetam.chetzy at gmail.com writes:

> Hello, I have this same assignment to create Bank account and I am new
> to python.

Welcome to Python! If you have an assignment, that implies you are
working through a course and you have received enough teaching to
attempt the task yourself.

> please help me out.

Apply your existing Python knowledge – you've been learning it in your
course, right? – to run the test suite provided.

Follow this procedure.

* Run the test suite.

* Observe what tests fail. If they all run and all pass, you're done.

* Write just enough of the BankAccount class that it changes the behaviour
  of at least one test case.

* Repeat from the top, until all the test cases pass.

If you have questions:

* Please provide a complete example (so that we can also run the same
  code),

* Which is very small (so it's easy to discuss),

* and ask specific questions about what it's doing and why that doesn't
  meet your expectation.

-- 
 \           “Kissing a smoker is like licking an ashtray.” —anonymous |
  `\                                                                   |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list