Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #106403 > unrolled thread

Re: i cant seem to figure out the error

Started byErik <python@lucidity.plus.com>
First post2016-04-03 21:10 +0100
Last post2016-04-03 21:10 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: i cant seem to figure out the error Erik <python@lucidity.plus.com> - 2016-04-03 21:10 +0100

#106403 — Re: i cant seem to figure out the error

FromErik <python@lucidity.plus.com>
Date2016-04-03 21:10 +0100
SubjectRe: i cant seem to figure out the error
Message-ID<mailman.411.1459714254.28225.python-list@python.org>
Hi Anthony,

On 03/04/16 16:06, anthony uwaifo wrote:
> please i need help with this assignment. I have written a code and i still
> get an error. please help me debug my code.

We see this assignment come up a lot. The "tutor" list is a better place 
to go, but well done for at least attempting it and coming up with quite 
a good result.

>     - Create a method called `withdraw` that takes in cash withdrawal amount
>     and updates the balance accordingly. if amount is greater than balance
>     return `"invalid transaction"`

Read this carefully. Read it _literally_. What does your 'withdraw' 
method return?

E.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web