Changes to be committed:

This commit is contained in:
2025-12-15 14:26:38 +01:00
parent 7f1c64ed10
commit 3c00ce57e7
10 changed files with 147 additions and 0 deletions

20
dzien_01/r1_08.py Normal file
View File

@@ -0,0 +1,20 @@
# program r1_08.py
# Przykłady dla instrukcji warunkowych
test_object = 23
print(f"test dla wartości = {test_object}")
if test_object < 20:
print("Niska wartość")
if test_object < 30:
print("Mniej niż 30")
if test_object < 40:
print("Mniej niż 40")
test_object = 43
print(f"test dla wartości = {test_object}")
if test_object < 20:
print("Niska wartość")
if test_object < 30:
print("Mniej niż 30")
if test_object < 40:
print("Mniej niż 40")