7 lines
83 B
Text
7 lines
83 B
Text
var f = (1..10).map { |i|
|
|
func(j){i * j}
|
|
}
|
|
|
|
for j (1..9) {
|
|
say f[j-1](j)
|
|
}
|