Created
March 25, 2019 15:39
-
-
Save chicagowebmanagement/5421f619df2b23bc60bebd452e5338da to your computer and use it in GitHub Desktop.
dictionary, list and tuple examples
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
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