class Math: @staticmethod def abs(x): if x >= 0: return x else: return x * -1 @staticmethod def pow(a, b): if b == 0: return 1 if b == 1: return a tmp = 1 for i in range(b): tmp *= a return tmp print(Math.abs(-9)) print(Math.pow(8, 2))