Restore AGENTS.md and calculator.py #6

Merged
testclient-admin merged 3 commits from restore-scaffolding into main 2026-08-23 15:00:27 +00:00
Showing only changes of commit 67b7233c06 - Show all commits
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env python3
"""Простой калькулятор"""
def add(a, b):
return a + b
def subtract(a, b):
return a - b
def multiply(a, b):
return a * b
def divide(a, b):
if b == 0:
raise ValueError("division by zero")
return a / b