Why in the world does running this program cause me to have to exit Pyscripter as a result of it being stuck in a debugging action?

前端 未结 0 1150
感动是毒
感动是毒 2020-12-16 13:53

import math def my_sqrt(a): x = a + 2 while True: #print (x) y = (x+a/x)/2.0 if y == x: break x = y return x

def test_sqrt(z): def grid(): print ("a =", z,&

相关标签:
回答
  • 消灭零回复
提交回复
热议问题