Ver Fonte

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

u25-29radionceva há 1 semana atrás
pai
commit
08d733c9fe
1 ficheiros alterados com 8 adições e 0 exclusões
  1. 8 0
      Практическая_2/4.6(б).py

+ 8 - 0
Практическая_2/4.6(б).py

@@ -0,0 +1,8 @@
+x = 3
+
+if x <= 3:
+    y = -x
+else:
+    y = -3
+
+print(y)