class ex7:
   def exponent(self):
       exp=1
       b=int(input("enter base"))
       ex=int(input("enter exponent:"))
       for _ in range(ex):
            exp=exp*b
       return(exp)
    
print(ex7().exponent())
35b0af0a81182c0a8388808bab64c6cac4809a54
<mask token>

class ex7:
    <mask token>


<mask token>

class ex7:

    def exponent(self):
        exp = 1
        b = int(input('enter base'))
        ex = int(input('enter exponent:'))
        for _ in range(ex):
            exp = exp * b
        return exp


<mask token>

class ex7:

    def exponent(self):
        exp = 1
        b = int(input('enter base'))
        ex = int(input('enter exponent:'))
        for _ in range(ex):
            exp = exp * b
        return exp


print(ex7().exponent())

class ex7:
   def exponent(self):
       exp=1
       b=int(input("enter base"))
       ex=int(input("enter exponent:"))
       for _ in range(ex):
            exp=exp*b
       return(exp)
    
print(ex7().exponent())