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

if you break inside an if statement, like in this example: while guess <= x: if abs(guess**2 -x) < epsilon: break else: guess += step I gather it naturally moves to the else?

OpenStudy (anonymous):

nope... it moves out of the while loop!

OpenStudy (anonymous):

Thanks

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!