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

Practice Set 2, problem 1. My function is not going through the entire iteration, only the first one. I can take the 'for i in xrange(len(poly)):' function out of the function and just run the for loop and it runs perfectly. But when I run it in the function, it doesn't go past the first iteration. I've tested this by changing the first float in poly(), and the result equals the value of the first index in (poly). Any suggestions?

rebeccaxhawaii (rebeccaxhawaii):

\(\Huge\boxed{\boxed{\boxed{\huge\mathbb{WELCOME~TO~OPENSTUDY} }}}\) Hey i have made this to hopefully answer any questions you may have. But if it doesn't feel free to pm me c: http://openstudy.com/users/rebeccaxhawaii#/updates/56f5205ce4b07a8c82287f75 Good Luck with your studies! \(\Huge\heartsuit\)

OpenStudy (jimmy806196):

Hey @aguilartony....did you write the evaluate_poly function yourself?

OpenStudy (jimmy806196):

How did you manage with problem set 2......i'm kinda stuck here

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!