Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
informatyka:podstawy-dzialania-komputera:algebra_boola [2024/04/06 23:32] – kawcix | informatyka:podstawy-dzialania-komputera:algebra_boola [2024/04/07 00:34] (current) – kawcix | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== 1 Wstęp Algebra Boole' | ====== 1 Wstęp Algebra Boole' | ||
+ | |||
+ | <callout type=" | ||
Line 64: | Line 66: | ||
{{: | {{: | ||
+ | |||
+ | <button collapse=" | ||
+ | |||
+ | < | ||
+ | <code python > | ||
+ | # Sprawdzamy, czy podana liczba jest mniejsza od 5 lub większa od 10 | ||
+ | liczba = 3 | ||
+ | if liczba < 5 or liczba > 10: | ||
+ | print(" | ||
+ | else: | ||
+ | print(" | ||
+ | |||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
===== Operacja NOT ===== | ===== Operacja NOT ===== |