Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Gavin311
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
Gavin311
2y ago
# calculator.py class Calculator: def __init__(self): self.history = [] def add(self, num1, num2): """Add two numbers""" result = num1 + num2 self.history.append(f"