# Output "I love Ruby" say = "I love Ruby" puts say # Output "I *LOVE* RUBY" say = say.sub("love", "*love*") puts say.upcase # Output "I *love* Ruby" # five times 5.times { puts say } # Ruby knows what you # mean, even if you # want to do math on # an entire Array cities = %w[ London Oslo Paris Amsterdam Berlin ] visited = %w[Berlin Oslo] puts "I still need " + "to visit the " + "following cities:

