Newer
Older
Ruby / hello17.rb
#
#
(1..50).each { |i|
  int=("#{i}").split.map(% :to_i )
  printf("%d,%d\n",i,int.sum)
}