# -*- coding: utf-8 -*- import math def method1(): """return method 1""" return ("Insind method1") def method2(x): """ calculate log(x)""" try: return math.log(x) except ValueError: print("Input must be a number")