Created
August 23, 2012 02:10
-
-
Save coderberry/3431330 to your computer and use it in GitHub Desktop.
w2-e1.rb
This file contains hidden or 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 = 1 # Assigns the variable x with the value of 1 | |
| => 1 | |
| >> y = 2 # Assigns the variable y with the value of 2 | |
| => 2 | |
| >> z = x + y # Assigns the sum of x and y to the variable z | |
| => 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment