Skip to content

Instantly share code, notes, and snippets.

View Likewise42's full-sized avatar

Ryan Muskopf Likewise42

View GitHub Profile
#!/usr/bin/env python
# encoding: utf-8
"""
letters-to-100.py
"""
import string
winning_list = []
# In app/helpers/users_helper.rb
require_relative 'users_helper/greet'
module UsersHelper
module Internals
end
private_constant :Internals
include Internals
#!/usr/bin/env python
# encoding: utf-8
"""
letters-to-100.py
"""
import string
letter_values = dict((l, i) for i, l in enumerate(string.lowercase, start=1))
english_dict = open('/usr/share/dict/words', 'rU')