2012年1月19日星期四

pythonchallenge 通关秘籍 Level 1

学习python的朋友,可以去http://www.pythonchallenge.com 网站看看
下面说说Level 1的通关秘籍:
url: http://www.pythonchallenge.com/pc/def/0.html
答案:按照图片上说的计算2的38次方。
进入ipython:
In [2]: 2**38
Out[2]: 274877906944L

现在修改url地址:http://www.pythonchallenge.com/pc/def/274877906944.html

通关!

没有评论:

发表评论