-
Perform a
git clone <url of this repo>
on this repository. Open the folder in VS Code usingcode .
. -
Open the
arrays.rb
and manipulate the arrays inside to produce the required output. -
Open the
loops.rb
and create loops to produce the required output. -
Push your solutions to a repository on Github
-
Take three deep breaths :)
for item in array
puts "Item: #{item}"
end
i = 0
while i < array.length
puts "Item: #{array[i]}"
i += 1
end
shopping_list.each do |item|
puts "Item: #{item}"
end