title: Do i have an infinite loop?
body: <p>Code:</p>
  
  <pre><code>i = len(s) - 1
  while i &gt;=0:
      if silaba_final(s[i:]):
          if i == 0:
              return True
          else:
              z = len(s) - i
              while z &gt;=0:
                  if not e_silaba(s[z:i]):
                      z = z - 1
                  if e_silaba(s[z:i]):
                      if z == 0:
                          return True
                      else:
                          z = len(s) - z
      if not silaba_final(s[i:]):
          if i == 0:
              return False
          else:
               i = i - 1
  </code></pre>
  
  <p>So i have this code it is suposed to see if a word contains a "silaba_final"
      then the rest of the word except that "silaba_final"... can contain zero<br>
      or more times the fuction "e_silaba". I tried this code but when i execute 
      it gives "Executing command. Please wait for result" I suppose its an 
      infinite loop. Can anyone help me?</p>