2014年10月15日 星期日 晴

http://www.pythonchallenge.com/pc/return/uzi.html

标题是whom,提示是,然后

,暗示第二天是这个年轻人的日子。

应该是根据图和提示,找到哪一年(1**6)的1月17日,这个日子可能是某位年少成名的名人的诞辰或者逝世纪念日,一般纪念的是诞辰吧。

1**6,不可能有很多种组合,仔细看小图,可以发现是闰年,这样就可以推理出哪几年符合条件了。

[code]def Challenge15(): import datetime for year in range(1006,1996,10): #判断是闰年 if year % 4 == 0: #1月26日是星期一 if datetime.date(year, 1, 26).weekday() == 0: print year[/code] 打印得出: 1176 1356 1576 1756 1976

搜索历史上的今天,1月27日在上述年份出现的有,然后再是个男的诞辰就对了。应该是在英文wiki上搜的,因为题目是老外出的,答案肯定也是英语的。 http://en.wikipedia.org/wiki/January_27

在页面搜索上述结果的年份,搜出如下结果:

1756 – Wolfgang Amadeus Mozart, Austrian composer (d. 1791) 1976 – Clint Ford, American voice actor 1976 – Ahn Jung-Hwan, South Korean footballer 1976 – Ruby Lin, Taiwanese actress, singer, and producer 1976 – Todd MacCulloch, American basketball player 1976 – Zoriah Miller, American photographer 1976 – Fred Taylor, American football player

很显然,全世界都知道的,那肯定就是Mozart了。另,点开看了一下,Ruby Lin是林心如。

下一题:http://www.pythonchallenge.com/pc/return/mozart.html (url一向是纯小写的风格)