Created
September 5, 2018 11:03
-
-
Save vestige/07e1c425b3654720733d471d75cc4859 to your computer and use it in GitHub Desktop.
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
ary = [1, 2, 3, "A", 1 + 3] | |
p ary | |
p ary[0] | |
p ary[-1] | |
ary[10] = "mmm" | |
ary[2] = 20 | |
ary[0] = 0 | |
p ary | |
hs = {} | |
hs["a"] = 1 | |
hs["b"] = 2 | |
p hs | |
p hs["a"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment