Questions and Answers
Problems and Solutions
Tuesday, January 15, 2013
Codecademy Sample Solution: String Interpolation
favorite_things = ["Ruby", "espresso", "candy"]
puts "A few of my favorite things:"
favorite_things.each do |thing|
puts "I love #{thing}!"
end
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment