Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

us states and capitals dictionary

#State Capitals dict and lists for anyone who might need it
state_capitals_dict={'Alabama': 'montgomery', 'Alaska': 'juneau', 'Arizona': 'phoenix', 'Arkansas': 'little rock', 'California': 'sacramento', 'Colorado': 'denver', 'Connecticut': 'hartford', 'Delaware': 'dover', 'Florida': 'tallahassee', 'Georgia': 'atlanta', 'Hawaii': 'honolulu', 'Idaho': 'boise', 'Illinois': 'springfield', 'Indiana': 'indianapolis', 'Iowa': 'des moines', 'Kansas': 'topeka', 'Kentucky': 'frankfort', 'Louisiana': 'baton rouge', 'Maine': 'augusta', 'Maryland': 'annapolis', 'Massachusetts': 'boston', 'Michigan': 'lansing', 'Minnesota': 'saint paul', 'Mississippi': 'jackson', 'Missouri': 'jefferson city', 'Montana': 'helena', 'Nebraska': 'lincoln', 'Nevada': 'carson city', 'New Hampshire': 'concord', 'New Jersey': 'trenton', 'New Mexico': 'santa fe', 'New York': 'albany', 'North Carolina': 'raleigh', 'North Dakota': 'bismarck', 'Ohio': 'colombus', 'Oklahoma': 'oklahoma city', 'Oregon': 'salem', 'Pennsylvania': 'harrisburg', 'Rhode Island': 'providence', 'South Carolina': 'columbia', 'South Dakota': 'pierre', 'Tennessee': 'nashville', 'Texas': 'austin', 'Utah': 'salt lake city', 'Vermont': 'montpelier', 'Virginia': 'richmond', 'Washington': 'olympia', 'West Virginia': 'charleston', 'Wisconsin': 'madison', 'Wyoming': 'cheyenne'}
states=['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware', 'Florida', 'Georgia', 'Hawaii', 'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana', 'Maine', 'Maryland', 'Massachusetts', 'Michigan', 'Minnesota', 'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada', 'New Hampshire', 'New Jersey', 'New Mexico', 'New York', 'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island', 'South Carolina', 'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming']
capitals=['montgomery', 'juneau', 'phoenix', 'little rock', 'sacramento', 'denver', 'hartford', 'dover', 'tallahassee', 'atlanta', 'honolulu', 'boise', 'springfield', 'indianapolis', 'des moines', 'topeka', 'frankfort', 'baton rouge', 'augusta', 'annapolis', 'boston', 'lansing', 'saint paul', 'jackson', 'jefferson city', 'helena', 'lincoln', 'carson city', 'concord', 'trenton', 'santa fe', 'albany', 'raleigh', 'bismarck', 'colombus', 'oklahoma city', 'salem', 'harrisburg', 'providence', 'columbia', 'pierre', 'nashville', 'austin', 'salt lake city', 'montpelier', 'richmond', 'olympia', 'charleston', 'madison', 'cheyenne']
Comment

PREVIOUS NEXT
Code Example
Python :: repeat a condition n times one by one python 
Python :: design patterns python 
Python :: mistborn books 
Python :: what is tkinter in python 
Python :: how to check whether input is string or not 
Python :: how to check if element is in list python 
Python :: np evenly spaced array 
Python :: python selenium: does not wait until page is loaded after a click() command 
Python :: concate the dataframe in pandas.. 
Python :: index.py:14: RuntimeWarning: invalid value encountered in true_divide return np.dot(user, user2) / (norm(user) * norm(user2)) 
Python :: python format decimal list 
Python :: # unzip files 
Python :: python collection 
Python :: que es una funcion en python 
Python :: what is ord function on python 
Python :: Selenium get response body python 
Python :: python calculator source code 
Python :: open csv in coalb 
Python :: how to average only positive number in array numpy 
Python :: not intersection list python 
Python :: how to extract values from a dictionary 
Python :: multiple logger instances populating single log python 
Python :: Python NumPy stack Function Example with 2d array 
Python :: python observer pattern 
Python :: python in kali linux 
Python :: what is indentation in python 
Python :: python collections to dictionary 
Python :: geckodriver seleniunm setup 
Python :: how to find highest number in list python 
Python :: Send Fetch Post With Data Using Body 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =