A python list of all US state abbreviations.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
states = [ 'AK', 'AL', 'AR', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'GA', | |
'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', | |
'MI', 'MN', 'MO', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', | |
'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'RI', 'SC', 'SD', 'TN', 'TX', | |
'UT', 'VA', 'VT', 'WA', 'WI', 'WV', 'WY'] | |
states = { | |
'AK': 'Alaska', | |
'AL': 'Alabama', | |
'AR': 'Arkansas', | |
'AZ': 'Arizona', | |
'CA': 'California', | |
'CO': 'Colorado', | |
'CT': 'Connecticut', | |
'DC': 'District of Columbia', | |
'DE': 'Delaware', | |
'FL': 'Florida', | |
'GA': 'Georgia', | |
'HI': 'Hawaii', | |
'IA': 'Iowa', | |
'ID': 'Idaho', | |
'IL': 'Illinois', | |
'IN': 'Indiana', | |
'KS': 'Kansas', | |
'KY': 'Kentucky', | |
'LA': 'Louisiana', | |
'MA': 'Massachusetts', | |
'MD': 'Maryland', | |
'ME': 'Maine', | |
'MI': 'Michigan', | |
'MN': 'Minnesota', | |
'MO': 'Missouri', | |
'MS': 'Mississippi', | |
'MT': 'Montana', | |
'NC': 'North Carolina', | |
'ND': 'North Dakota', | |
'NE': 'Nebraska', | |
'NH': 'New Hampshire', | |
'NJ': 'New Jersey', | |
'NM': 'New Mexico', | |
'NV': 'Nevada', | |
'NY': 'New York', | |
'OH': 'Ohio', | |
'OK': 'Oklahoma', | |
'OR': 'Oregon', | |
'PA': 'Pennsylvania', | |
'RI': 'Rhode Island', | |
'SC': 'South Carolina', | |
'SD': 'South Dakota', | |
'TN': 'Tennessee', | |
'TX': 'Texas', | |
'UT': 'Utah', | |
'VA': 'Virginia', | |
'VT': 'Vermont', | |
'WA': 'Washington', | |
'WI': 'Wisconsin', | |
'WV': 'West Virginia', | |
'WY': 'Wyoming' | |
} |
Thank you! Big time saver!
Thank you very much! What a thoughtful thing for you to provide. Much appreciated.
Thank you!
Thanks.
beautiful thank you!!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So useful!