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.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to