Skip to content
View avinashv's full-sized avatar

Block or report avinashv

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. 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
    4
    
                  
    5
    import operator
  2. A command-line anagram solver using ... A command-line anagram solver using the Linux/OS X wordlist.
    1
    def anagram_solve(letters, words):
    2
        solution = [word.lower() for word in words if len(word) == len(letters)]
    3
    
                  
    4
        for letter in letters:
    5
            solution = [word for word in solution if letter in word and letters.count(letter) == word.count(letter)]