title: indentation error with python 3.3 when python2.7 works well
body: <p>I wrote this script below which converts number to it's spelling.</p>
  
  <pre><code>no = raw_input("Enter a number: ")
  
  strcheck = str(no)
  try:
       val = int(no)
  except ValueError:
       print("sayi degil")
       raise SystemExit
  lencheck = str(no)
  if len(lencheck) &gt; 6:
       print("Bu sayi cok buyuk !")
       raise SystemExit
  
  n = int(no)
  print(n)
  def int2word(n):
  
       n3 = []
       r1 = ""
  
       ns = str(n)
       for k in range(3, 33, 3):
                r = ns[-k:]
                q = len(ns) - k
  
      if q &lt; -2:
          break
      else:
          if  q &gt;= 0:
              n3.append(int(r[:3]))
          elif q &gt;= -1:
              n3.append(int(r[:2]))
          elif q &gt;= -2:
              n3.append(int(r[:1]))
      r1 = r
  
  #print(n3)  
  
  
       nw = ""
       for i, x in enumerate(n3):
                b1 = x % 10
                b2 = (x % 100)//10
                b3 = (x % 1000)//100
  
            if x == 0:
                    continue  
                else:
                    t = binler[i]
  
                if b2 == 0:
                    nw = birler[b1] + t + nw
                elif b2 == 1:
                    nw = onlar[1] + birler[b1] + t + nw
                elif b2 &gt; 1:
                    nw = onlar[b2] + birler[b1] + t + nw
                if b3 &gt; 0:
                    nw = birler[b3] + "yuz " + nw
       return nw
  
   birler = ["", " ","iki ","uc ","dort ", "bes ", "alti ","yedi ","sekiz ","dokuz "]
   onlar = ["", "on ", "yirmi ", "otuz ", "kirk ", "elli ", "altmis ", "yetmis ", "seksen ", "doksan "]
   binler = ["", "bin"]
  
   print int2word(n)
  </code></pre>
  
  <p>This scripts works pretty well on Python2.7.</p>
  
  <p>But when I try to run it with python3.3</p>
  
  <p>It gives me error below:</p>
  
  <pre><code>File "numtospell.py", line 58
      if x == 0:
               ^
  TabError: inconsistent use of tabs and spaces in indentation
  </code></pre>
  
  <p>I've googled it for hours but cannot find a suitable solution. What do I do to fix this? </p>
  
  <p>Thanks for any help.</p>