ABC problem: Difference between revisions

m
Adjust formatting
(Created page with "{{draft task}} You are given a set of ABC blocks. Just like the ones you had when you were a kid. There are twenty blocks with two letters on each block. You are guaranteed t...")
 
m (Adjust formatting)
Line 30:
 
 
== ;Example ==:
 
<lang python>
>>> can_make_word("")
False
>>> can_make_word("aA")
True
>>> can_make_word("barkBARK")
True
>>> can_make_word("bookBOOK")
False
>>> can_make_word("treatTREAT")
True
>>> can_make_word("commonCOMMON")
False
>>> can_make_word("squadSQUAD")
True
</lang>
Anonymous user