title: I cant see a problem but unexpected unindent occurs in my tkinter program
body: <pre><code>def login():
      #clean
      Ename.delete(0,'end')
      Eage.delete(0,'end')
      Epswrd.delete(0,'end')
      Everpass.delete(0,'end')
      root.destroy()
      #/clean
      
      stem = Tk()
      stem.geometry(&quot;810x450&quot;)
      stem.resizable(0,0)
      stem.title(&quot;Log in&quot;)
  
      approve1 = &quot;&quot;
      approve2 = &quot;&quot;
      
      #function
          #player 1
      def player1():
          name1 = Ename1.get()
          pswrd1 = Epswrd1.get()
          
          if (name1 == &quot;&quot;) or (pswrd1==&quot;&quot;):
              messagebox.showinfo(&quot;Invalid&quot;, &quot;Please enter a username or password&quot;)
          else:
              conn = mariadb.connect(
                  user=&quot;root&quot;,password=&quot;&quot;,
                  host=&quot;localhost&quot;,
                  database=&quot;chessdatabase&quot;)
              cur = conn.cursor()
              #insert information 
              try:
                  cur.execute(&quot;SELECT User,Password from players where User=?, and Password = ?&quot;,(name1,pswrd1))
                  row = cur.fetchone()
                  if row==None:
                      messagebox.showinfo(&quot;Error&quot; , &quot;Invalid User Name And Password&quot;)
                  else:
                      approve1 = p1login
                      
                  conn.commit()
          #/player 1
      #/function
  
      #display
      title1 = Label(stem, text=&quot;Touch-Move Tkinter Chess&quot;, font=(&quot;Colonna MT&quot;, 35))
      title1.place(x=140, y=40)
  
          #player 1 display
      name1 = Label(stem, text=&quot;Player 1&quot;, font=(&quot;Georgia&quot;, 13))
      name1.place(x=50, y=175)    
  
      Ename1 = Entry(stem, font=(&quot;Georgia&quot;, 11), width=17)
      Ename1.place(x=150, y=175)
  </code></pre>
  <p>The error occurs at the left side indent of <code>title1 = Label(stem, text=&quot;Touch-Move Tkinter Chess&quot;, font=(&quot;Colonna MT&quot;, 35))</code>, Why does it make &quot;unexpected unindent&quot; error?</p>
  <p>I've encountered the same problem before but for some reason it was fixed. Sorry I'm new to python so I don't really know much about indents in programming</p>