Pinned Loading
-
A reverse-polish notation calculator...
A reverse-polish notation calculator in Python 1# a simple reverse-polish notation calculator
2#
3# shouldn't be too hard to extend this--variables seem like a natural progression
45import operator
-
A command-line anagram solver using ...
A command-line anagram solver using the Linux/OS X wordlist. 1def anagram_solve(letters, words):
2solution = [word.lower() for word in words if len(word) == len(letters)]
34for letter in letters:
5solution = [word for word in solution if letter in word and letters.count(letter) == word.count(letter)]
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.