Hacker News new | past | comments | ask | show | jobs | submit login

Ruby too:

  ['dog', 'cat', 'bird'].zip(['brown', 'black', 'red']).each {|animal, color| puts "See the #{color} #{animal}?"}



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: