moa = {'OHIO':['BUTLER COUNTY.OH','Licking County Sheriffs Ofiice OH'],'OKLAHOMA':['McIntosh County, OK','OK DOC-Offender Banking Deposit'], 'LOUISIANA':'CALCASIEU Parish CPSO LA','NEW YORk':'ERIE','IDAHO':'IDDOC Secure Payments, Fees and Charges', 'OREGON':'Marion County Jail OR', 'TEXAS':'MTC-Giles W.Dalby, TX','PENNSYLVANIA':'Washington County Prison, PA', 'MISSOURI':'St.Louis City Jail', 'FLORIDA':'Seminole County, FL', 'NEBRASKA':'Lancaster County Jail, NE'} for keys in moa: agency = moa[keys] print(agency) for ag in agency: print(ag)
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question