title: SyntaxError: invalid syntax for if statement
body: <p>For some reason, the if statement I'm using doesn't run within my for statement. </p>
  
  <p>I tried the checkbox "replace by space" in the Settings > Preferences > Language Menu / Tab Settings but it still doesn't work. </p>
  
  <pre><code>import sqlite3
  conn = sqlite3.connect('corrections.db')
  c = conn.cursor()
  
  for row in c.execute("SELECT * FROM inventory WHERE Name= 'Tim'"):{
      if 1&lt;2: 
         print{"hello")
  }
  
  conn.commit()
  </code></pre>
  
  <p>The error displays at the if statement, but if I move the if statement out of the for loop, it works perfectly.</p>