5 lines
76 B
Text
5 lines
76 B
Text
|
|
var arr = %w(a b c)
|
||
|
|
for i in (0 .. arr.len) {
|
||
|
|
say arr.combinations(i)
|
||
|
|
}
|