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

I'm going CRAZY here. Can someone please help me on ps2A! This is what I have. I know it is really ugly, but I have been all over the place. http://dpaste.com/hold/603902/ Any help would greatly be appreciated. Thanks

OpenStudy (anonymous):

could you let us know more about your intentions are. I've run your script but I can't quite figure out what you are meaning for it to do precisely, loop by loop. Also, why are you doing it as a function exactly? I just completed this assignment earlier in the week, and I could show you my code if it would help.

OpenStudy (anonymous):

What I am trying to do in the loops try every possible scenario of 6, 9, and 12 combinations between the numbers 1 and 150. The combos that do not add up to one of those numbers are put in a list. The last number added to the list should be the highest number that cannot be bought in the exact quantity. I know the end of my code doesn't make sense, but I was trying everything and that's where I had enough and left it at is. That would be great if you can post your answer and then I can see how you approached the problem. Thanks for the help.

OpenStudy (anonymous):

Does this seem right? http://dpaste.com/604150/

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!
Latest Questions
ARTSMART: Art!
1 hour ago 4 Replies 3 Medals
Jasonisyours: What were the key causes of the French Revolution in 1789?
2 hours ago 2 Replies 4 Medals
PureSoulless: Why is the word "Pedophile" always censored in yt vids?
1 day ago 3 Replies 0 Medals
Jalli: What's 58x3634u00b07
19 hours ago 6 Replies 3 Medals
arriya: who wanna play roblox
1 day ago 5 Replies 1 Medal
brianagatica14: Any artist on here?
3 days ago 7 Replies 2 Medals
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!