Scientific Computing with Python Projects - Budget App

Tell us what’s happening:

Describe your issue in detail here.

Hi,
I’m slightly confused about the create_spend_chart function. Do transfers count as withdrawls or do we exclude transfers from the expenditure?
Thanks in advance.

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

Challenge Information:

Scientific Computing with Python Projects - Budget App

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

I’m guessing a transfer is a combination of a withdrawal from one category and a deposit to another category.

1 Like

Yes it is but should it count as expenditure? I think I’m going to continue as though the answer is yes and amend later if needs be

A transfer method that accepts an amount and another budget category as arguments. The method should add a withdrawal

A transfer does include a withdrawl, so yes it does count as a withdrawl