Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
3
Task/Logical-operations/Nu/logical-operations.nu
Normal file
3
Task/Logical-operations/Nu/logical-operations.nu
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
def ops [a b] {{A: $a, B: $b, "Not A": (not $a), OR: ($a or $b), AND: ($a and $b), XOR: ($a xor $b)}}
|
||||
|
||||
[true false] | each {[[true $in] [false $in]]} | flatten | each {ops $in.0 $in.1}
|
||||
Loading…
Add table
Add a link
Reference in a new issue