Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
9
Task/Power-set/Pluto/power-set.pluto
Normal file
9
Task/Power-set/Pluto/power-set.pluto
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
require "perm"
|
||||
local fmt = require "fmt"
|
||||
|
||||
local sets = { {1, 2, 3, 4}, {}, {{}} }
|
||||
for sets as set do
|
||||
print($"The power set of {fmt.swrite(set)} is:")
|
||||
fmt.lprint(powerset.list(set))
|
||||
print()
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue