Update logarithm.py