Created
November 14, 2017 07:58
-
-
Save kaashmonee/922e0727e2f55486c46a9e3929bc3766 to your computer and use it in GitHub Desktop.
Hello world ruby
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
$i = 100 | |
$n = 3 | |
while $n < $i do | |
puts("inside the loop i = #$n") | |
$n += 1 | |
end | |
for i in 0..5 | |
puts "value of local variable i is #{i}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment