-
-
Save krainboltgreene/4275298 to your computer and use it in GitHub Desktop.
An introduction to programming.
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
15 | |
-1 | |
4.39010 |
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
1 + 1 | |
10 * 2 | |
1 + (10 / 2) ** 2 |
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
"Holla!" | |
"You can observe a lot by watching." | |
"?" | |
"400" |
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
"Good" .. "morning!" | |
"kltpzyxM" .. "eybdooG" | |
("U" .. "U") .. "D" .. "D" .. ("L" .. "R" .. "L" .. "R") .. "A" .. "B" |
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
x := 4 | |
y := 2 | |
x + y | |
name := "Kurtis" | |
"Hello, " .. name | |
age := 2017 - 1987 | |
age + 10 | |
"I'm younger than " .. age |
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
4 + 4 # This is some basic math | |
# 2 + "Hack The Planet" | |
# This is a comment, | |
# and so is this! | |
"The polarbear is angry." | |
# Note: Feed fish. |
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
bark := method( "Woolf!" ) | |
bark | |
bark | |
bark | |
add_two_numbers := method(x, y, x + y) | |
add_two_numbers(1,2) | |
4 +(100) | |
babble := method(place, "This one time at " .. place .. " camp" ) | |
babble("band") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment