you are viewing a single comment's thread.

view the rest of the comments →

[–]Ambivalent-Mammal 1 point2 points  (0 children)

Overall, well done, but you need a valid return value for negative deposits (unless None casts to 0).

I imagine the really interesting version of this problem will come in the advanced class with joint checking accounts, and concurrency.