Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 16 Online
OpenStudy (anonymous):

I am stuck in pest4_a, here is my code, can anyone help me check it?http://dpaste.com/hold/531152/

OpenStudy (anonymous):

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.

OpenStudy (anonymous):

Thank you:)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!