title: Add functions to path - Python
body: <p>I have just started to use Python (I am used to MATLAB).
  How should I add a function to path? In matlab you right click on the function and you can add or remove from path. </p>
  
  <p>For instance, a simple program to evaluate the power of a number:
  <a href="https://i.stack.imgur.com/Vbtml.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vbtml.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/MaRvj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MaRvj.png" alt="enter image description here"></a></p>
  
  <p>As you can see the original program and the function are in the same folder, however the function seems to have an error. What am I doing wrong?</p>
  
  <p>Thanks</p>