This commit is contained in:
2025-12-11 18:01:56 +05:00
commit bfa7413f9c
38 changed files with 651 additions and 0 deletions

10
task_1.py Normal file
View File

@@ -0,0 +1,10 @@
x = float(input("Введите значение x: "))
if x < -1:
f = x ** 2
elif -1 <= x <= 1:
f = -x
else:
f = x ** 3
print(f"{f:.2f}")