9 lines
289 B
Ruby
9 lines
289 B
Ruby
alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n","o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]
|
|
firstLetter = alphabet[0]
|
|
|
|
alphabet.push ("i know the best words!")
|
|
# '<<' = '.push'
|
|
alphabet.each do |letter|
|
|
puts "This letter is #{letter}"
|
|
|
|
end
|