title: TypeError: must be real number, not str
body: <p>Whenever I rum the code, error message "TypeError: must be real number, not str" displays</p>
  
  <pre><code>from math import*
  
  num1 = input("Enter the num ")
  num2 = input("Enter the power ")
  
  def exponent_func( num1 ,  num2):
       return(pow ( str(num1) , str(num2) ))  
  
  exponent_func(num1 ,  num2)
  </code></pre>