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

on problem set 1 problem 1 my output is ever so slightly off. by about .1333333334. what did i do wrong?

OpenStudy (anonymous):

is your math right?

OpenStudy (anonymous):

as best i can tell it is. ive gone over it 5 or 6 times now and everything appears to be in order. if you want you can go over it. but ive probably just missed something little and infuriatingly hard to notice

OpenStudy (anonymous):

what language are you using? i'm familiar with c++

OpenStudy (anonymous):

im using python i found out what the problem was though :( in tiny retricefine print of the problem instructions it said "round everything to the nearest penny" and thats why the test case was different from my result. oh well.

OpenStudy (anonymous):

i see, so you're set now?

OpenStudy (anonymous):

yeah sorry. thanks for trying though :)

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!