Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
10
Task/Symmetric-difference/Pluto/symmetric-difference.pluto
Normal file
10
Task/Symmetric-difference/Pluto/symmetric-difference.pluto
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
require "map"
|
||||
local fmt = require "fmt"
|
||||
|
||||
local a = set.of("John", "Bob", "Mary", "Serena")
|
||||
local b = set.of("Jim", "Mary", "John", "Bob")
|
||||
fmt.print("A = %s", a)
|
||||
fmt.print("B = %s", b)
|
||||
fmt.print("A - B = %s", a:except(b))
|
||||
fmt.print("B - A = %s", b:except(a))
|
||||
fmt.print("A △ B = %s", a:symdiff(b))
|
||||
Loading…
Add table
Add a link
Reference in a new issue