Yeah. So the answer, in case you didn't hear it, was, again, if I'm a gambling person, I could start like a way down here.
答案是,如果我是一个赌徒,我可以再这边开始对不对?,如果我在赌博,我会说,嘿。
And you might say, wait a minute, isn't that a string, and the answer's no, I didn't say it's a string by putting quotes around it And notice how the machine responds differently to it.
你会想,等等,这不是个字符串么?,答案是否定的,我没用引号包围它就意味着它不是字符串,请注意计算机对它给出了不同的反应。
I really didn't know and I needed to have an answer to this question. So I created Star Festival with this team from MIT in order to try to answer this question.
我不知道,我需要一个答案,所以我和我来自麻省的团队,创造了,“七夕“项目,以回答这个问题。
All right. I tried it on 2, I surely didn't expect a precise and exact answer to that but I got something, and if you square this, you'll find the answer kept pretty darn close to 2.
好,我试试求2的平方根,我当然不希望得到一个完全准确的答案了,但是我得到了一个近似值,试试将这个数平方一下,你会发现结果和2相当接近。
I'm checking that I didn't leave my program because I didn't find an answer. Well this is a good thing, it's better than my program running forever, but it's a bad thing because I don't have it the square root of 0.25.
我对计数器要做个验证,因为我不会没得到答案就退出程序,好,这其实是个好事,因为它不会让我的程序永远跑下去,但这也是件坏事因为,我没得到0。25的平方根。
应用推荐