I am stuck in pest4_a, here is my code, can anyone help me check it?http://dpaste.com/hold/531152/
MIT 6.00 Intro Computer Science (OCW)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
First I don't think you assigned a Yearlyfunds list but yet you use yearlyfunds.append in line 7. Also you only need one or the other Yearlyfunds or F they would be used for same thing. Here is what I think is a fixed code if not it should lead you on the right track. I don't have time to test it because I have to leave. http://dpaste.com/hold/531481/. The count in mine is set to 1 but in yours is 0 if you get it wrong try setting it to 1. The changes I made were I took out lines 8 & 9 and changed your yearlyfunds.append to F.append and made your F a list so that it can use append. Sorry if this doesn't make complete sense, I'm kind of in a rush.