title: Why can't function defined in vscode be called?
body: <p>I defined a function in Python on Visual Studio Code, but when I call it, this error message comes out:</p>
  <pre><code>trin : The term «trin» is not recognized  applet of command name,
         function, script file or program executable. Check name's 
         spelling, or if an access path exists, check that the access 
         path is correct and try again.
  At character Line:1 : 1
  + trin(1, 1, 1)
  + ~~~
      + CategoryInfo          : ObjectNotFound: (trin:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException 
  </code></pre>
  <p>My script is:</p>
  <pre><code>def trin(a1, b1, a2, b2) :
      if a1 == a2 and b1 == b2 :
          print(&quot;The straight lines conincide.&quot;)
      elif (a1*b2)-(a2*b1)==0 and a1!=a2 or b1!=b2 :
          print(&quot;There is not intersections, the straight lines are parallel&quot;)
      else :
          x = (b2-b1)/(a2-a1)
          print(&quot;The intersection point is (&quot;, x, &quot; ; &quot;, a1*x+b1, &quot;)&quot; )
  </code></pre>
  <p>I deleted and reinstall vscode, Python and my other IDE/interpreters.</p>