Created
December 10, 2018 00:11
-
-
Save Spesm/5ea543c408fb8b6d97b5ed8a3eb493a7 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
# 3.times do | |
# puts "Hello!" | |
# end | |
# 3.times do | |
# p "Hello! " | |
# end | |
# number = 0 | |
# while (number <= 10) do | |
# p "the number is now #{number}" | |
# number += 1 | |
# end | |
(0..10).each do |n| | |
puts "the new number is #{n}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment