Skip to content

Instantly share code, notes, and snippets.

@adamori
Last active March 7, 2023 13:10
Show Gist options
  • Save adamori/f9b4a323798fe448a3472960b77983e2 to your computer and use it in GitHub Desktop.
Save adamori/f9b4a323798fe448a3472960b77983e2 to your computer and use it in GitHub Desktop.
Разработать функцию, реализующую логическую операцию «стрелка Пирса». С ее помощью построить таблицу истинности для этой операции.
def pierce_arrow(a, b):
  return not(a or b)
a b f
0 0 1
0 1 1
1 0 0
1 1 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment