diff --git a/TEMA2/Решение.py b/TEMA2/Решение.py new file mode 100644 index 0000000..c9d15ed --- /dev/null +++ b/TEMA2/Решение.py @@ -0,0 +1,5 @@ +# Решение +nm=(12,23,34,14,-7,-34) +a = sum(nm[:3]) +b = sum(nm[3:]) +print(a - b)