When Is Cheryl's Birthday?
nbviewer.ipython.org
When Is Cheryl's Birthday?
1–10 of 136 posts
Re: When Is Cheryl's Birthday?
#2The Python solution proposed is really great, in that it captures both the expressive and functional spirit of the language.
Re: When Is Cheryl's Birthday?
#3Re: When Is Cheryl's Birthday?
#4I thought this was a great puzzle when I first saw it. IMHO, it is more satisfying to "think through it" without paper and pencil, since it is relatively simple to resolve. The Python solution proposed is really great, in that it captures both the expressive and functional spirit of the language.
You are overestimating how simple it is.There are more than 1200 comments on the solution on the NYTimes[1] almost all of them arguing that other dates are correct.
[1] http://www.nytimes.com/2015/04/15/science/answer-to-the-sing...
Re: When Is Cheryl's Birthday?
#5Re: When Is Cheryl's Birthday?
#6I'd be interested in seeing a solution in Prolog.
Re: When Is Cheryl's Birthday?
#7Re: When Is Cheryl's Birthday?
#8Re: When Is Cheryl's Birthday?
#9I thought this was a great puzzle when I first saw it. IMHO, it is more satisfying to "think through it" without paper and pencil, since it is relatively simple to resolve. The Python solution proposed is really great, in that it captures both the expressive and functional spirit of the language.
>since it is relatively simple to solve You are overestimating how simple it is.There are more than 1200 comments on the solution on the NYTimes[1] almost all of them arguing that other dates are correct. [1] http://www.nytimes.com/2015/04/15/science/answer-to-the-sing...
Re: When Is Cheryl's Birthday?
#10the python solution is neat, but i have a feeling that there are tools that are more native to these kind of problems than general purpose programming language.