Timeline for Find scrambled words within word list
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 5, 2013 at 18:59 | vote | accept | jwalton512 | ||
Nov 5, 2013 at 16:06 | comment | added | Christopher J |
@jwalton512 Sorry .sort() is Python 2 syntax. I have updated my answer to be sorted(list(x)) so it matches the Python 3 request.
|
|
Nov 5, 2013 at 16:05 | history | edited | Christopher J | CC BY-SA 3.0 |
Updated to python 3 syntax
|
Nov 5, 2013 at 15:30 | comment | added | jwalton512 |
This worked well. list(foo).sort() didn't seem to work, changed to sorted(list(foo) and works great!
|
|
Nov 5, 2013 at 15:18 | comment | added | jwalton512 | This makes a lot of sense. Essentially all we need to know is that the scrambled word and the compare word have the same characters. | |
Nov 5, 2013 at 14:42 | history | answered | Christopher J | CC BY-SA 3.0 |