では、クラスとコンストラクタを定義しましょう。また、簡単なメンバ関数をいくつか追加しよう。
```python
class calculator:
    def __init__(self): pass
    def add(self, a, b): return a+b
    def multiplicate(self, a, b): return a*b
    def exponential(self, a, b): return a**b
    def sqrt(self, a): return a**0.5
```
Okay here we go, first, let's define a class and its constructor. Also let's add a few simple member functions.
```python
class calculator:
    def __init__(self): pass
    def add(self, a, b): return a+b
    def multiplicate(self, a, b): return a*b
    def exponential(self, a, b): return a**b
    def sqrt(self, a): return a**0.5
```