add practice 3 and 4
This commit is contained in:
parent
316ac4eb4f
commit
3d77977833
7
Практическая 3/3.py
Normal file
7
Практическая 3/3.py
Normal file
@ -0,0 +1,7 @@
|
||||
def f(A, B):
|
||||
return ((A and B) == ((not B) <= (not A))) ^ A
|
||||
|
||||
print("A B f")
|
||||
for A in (0, 1):
|
||||
for B in (0, 1):
|
||||
print(A, B, f(A, B))
|
BIN
Практическая 3/Screenshot_1.png
Normal file
BIN
Практическая 3/Screenshot_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
Практическая 3/ОИТ Практическая 3.docx
Normal file
BIN
Практическая 3/ОИТ Практическая 3.docx
Normal file
Binary file not shown.
BIN
Практическая 4/Безымянный.png
Normal file
BIN
Практическая 4/Безымянный.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
Практическая 4/ОИТ Практическая 4.docx
Normal file
BIN
Практическая 4/ОИТ Практическая 4.docx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user