Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Symmetric-difference/Logo/symmetric-difference.logo
Normal file
11
Task/Symmetric-difference/Logo/symmetric-difference.logo
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
to diff :a :b [:acc []]
|
||||
if empty? :a [output sentence :acc :b]
|
||||
ifelse member? first :a :b ~
|
||||
[output (diff butfirst :a remove first :a :b :acc)] ~
|
||||
[output (diff butfirst :a :b lput first :a :acc)]
|
||||
end
|
||||
|
||||
make "a [John Bob Mary Serena]
|
||||
make "b [Jim Mary John Bob]
|
||||
|
||||
show diff :a :b ; [Serena Jim]
|
||||
Loading…
Add table
Add a link
Reference in a new issue