Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Logical-operations/GAP/logical-operations.gap
Normal file
15
Task/Logical-operations/GAP/logical-operations.gap
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
Logical := function(a, b)
|
||||
return [ a or b, a and b, not a ];
|
||||
end;
|
||||
|
||||
Logical(true, true);
|
||||
# [ true, true, false ]
|
||||
|
||||
Logical(true, false);
|
||||
# [ true, false, false ]
|
||||
|
||||
Logical(false, true);
|
||||
# [ true, false, true ]
|
||||
|
||||
Logical(false, false);
|
||||
# [ false, false, true ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue