title: How to fix issue where python won't call a function from within a loop
body: <p>At the yes/no loop, the program won't call the function to re-perform a calculation. Instead, it asks to compute another gcd repeatedly instead of calling the specified function. </p>
  
  <p>I've tried re-inputting the whole function into the question loop if the user inputs yes, but that did not work either.</p>
  
  <pre><code>def gcd(n,m):
      if(m==0):
          return n
      else:
          return gcd(m,n%m)
  
  n = int(input("Enter a positive whole number:"))
  while True:
      if n &lt;= 0:
          print ("The number entered is not a positive number!, please try again")
          n = int(input("Enter a positive whole number : "))
      if n &gt; 0: break
  
  m = int(input("Enter a second positive whole number:"))
  while True:
      if m &lt;= 0:
          print ("The number entered is not a positive number!, please try again")
          m = int(input("Enter a positive whole number : "))
      if m &gt; 0: break
  
  GCD = gcd(n,m)
  
  print("The GCD of the two numbers you entered is:" ,GCD)
  
  
  
  while True:
      a = input("Compute another GCD? Enter y/n:").lower()
      if a=="y":
          gcd(n,m)
      elif a=="n":
          break
      else:
          print("Invalid entry. Please enter either y/n:")
  
  print("Goodbye!")
  </code></pre>
  
  <p>Expected results is that it calls the function gcd(n,m) and re-performs a calculation. Actual results is that it asks to perform another calculation without having actually completed a second calculation.</p>