JavaScript

This commit is contained in:
2026-10-07 20:10:13 +02:00
parent 51096a2e38
commit 58b9637321
4 changed files with 483 additions and 10 deletions
+22
View File
@@ -0,0 +1,22 @@
## Stack
Stack Class
Die `Stack`-Datenstruktur, die wir erstellen werden, wird **nur Ganzzahlen** speichern
### Python
#### main.py
```python
from stack import Stack
stack = Stack()
print(len(stack.elements))
```
#### stack.py
```python
class Stack:
def __init__(self):
self.elements = []
```