Skip to content

Instantly share code, notes, and snippets.

@chicagowebmanagement
Created March 25, 2019 15:39
Show Gist options
  • Save chicagowebmanagement/5421f619df2b23bc60bebd452e5338da to your computer and use it in GitHub Desktop.
Save chicagowebmanagement/5421f619df2b23bc60bebd452e5338da to your computer and use it in GitHub Desktop.
dictionary, list and tuple examples
crash={"age":"55","living at":"Oak Lawn","Studying":"Python"}
print(crash)
print(type(crash))
print(["age"])
crash2=["Chicago","Libertyville","Palatine","Oak Lawn"]
print(crash2)
print(type(crash2))
print(crash2[1])
crash3=("Beer","Motorcycles", "Travel","Dining")
print(crash3)
print(type(crash3))
print(crash3[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment