Quellcode durchsuchen

Добавить 'Практическая_2/4.3.py'

u25-29radionceva vor 4 Tagen
Ursprung
Commit
895fc3aecb
1 geänderte Dateien mit 10 neuen und 0 gelöschten Zeilen
  1. 10 0
      Практическая_2/4.3.py

+ 10 - 0
Практическая_2/4.3.py

@@ -0,0 +1,10 @@
+import math
+
+x = -2
+
+if x > 0:
+    y = math.sin(x ** 2)
+else:
+    y = 1 + 2 * math.sin(x) ** 2
+
+print("y =", y)