title: Python Indentation error using raw_input() in a function
body: <p>I have just started learning Python.  The problem I am facing is:
  whenever I use raw_input() outside a function it works fine, but whenever I use 
  raw_input function inside a function like this it gives me an error.</p>
  
  <pre><code>def getinput(cost):
  cost=raw_input('Enter a number ')
  </code></pre>
  
  <p>it gives me an Indentation error</p>