Find the errors in the following
1.)
# ,o888888o. 8 8888 88 8 8888 8888888888',8888' | |
# . 8888 `88. 8 8888 88 8 8888 ,8',8888' | |
# ,8 8888 `8b 8 8888 88 8 8888 ,8',8888' | |
# 88 8888 `8b 8 8888 88 8 8888 ,8',8888' | |
# 88 8888 88 8 8888 88 8 8888 ,8',8888' | |
# 88 8888 `8. 88 8 8888 88 8 8888 ,8',8888' | |
# 88 8888 `8,8P 8 8888 88 8 8888 ,8',8888' | |
# `8 8888 ;8P ` 8888 ,8P 8 8888 ,8',8888' | |
# ` 8888 ,88'8. 8888 ,d8P 8 8888 ,8',8888' |
# create an Array of 4 shoes | |
puts "01 ------" # to make the output easier to see... | |
shoes = ["loafers", "heels", "doc martins", "winklepickers"] | |
p shoes | |
# iterate through your Array using each and {}'s | |
# and show a list of your shoes | |
puts "02 ------" # to make the output easier to see... | |
shoes.each { |shoe| puts shoe} |