feat: Demo-Examples (Python/Rust/Go/C) mit Protokoll-Templates und Restore-Skript
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fb4e96919a
commit
64c2b7f0fd
21 changed files with 614 additions and 0 deletions
11
examples/python-calculator/calculator.py
Normal file
11
examples/python-calculator/calculator.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
def add(a, b):
|
||||
return a + b
|
||||
|
||||
|
||||
def subtract(a, b):
|
||||
return a - b
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(add(3, 4)) # 7
|
||||
print(subtract(10, 3)) # 7
|
||||
Loading…
Add table
Add a link
Reference in a new issue