Talk:ABC problem: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Examples OK?: you can't spell three letters with two blocks)
Line 5: Line 5:


Also it is possible to make a zero-length word with whatever letters you have. In which case shouldn't the results of <code>can_make_word ""</code> be True? --[[User:Tikkanz|Tikkanz]] ([[User talk:Tikkanz|talk]]) 19:42, 8 January 2014 (UTC)
Also it is possible to make a zero-length word with whatever letters you have. In which case shouldn't the results of <code>can_make_word ""</code> be True? --[[User:Tikkanz|Tikkanz]] ([[User talk:Tikkanz|talk]]) 19:42, 8 January 2014 (UTC)

:Hi, you need one B and two O's but the only blocks with either a B or an O are the ''two'' blocks BO and OB - you can't spell three letters with two blocks! --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 20:30, 8 January 2014 (UTC)

Revision as of 20:30, 8 January 2014

Had fun with this one last night after playing with my daughter. Should I include a solution? --Jking (talk) 14:46, 8 January 2014 (UTC)

Examples OK?

It appears to me that, given the set of blocks on the page, the result of a test on "BOOK" should be true?

Also it is possible to make a zero-length word with whatever letters you have. In which case shouldn't the results of can_make_word "" be True? --Tikkanz (talk) 19:42, 8 January 2014 (UTC)

Hi, you need one B and two O's but the only blocks with either a B or an O are the two blocks BO and OB - you can't spell three letters with two blocks! --Paddy3118 (talk) 20:30, 8 January 2014 (UTC)