title: Receiving error message in Python when using if statement(closed)
body: <p>I am not sure why but i am receiving a syntax error in the following code segment:</p>
  <pre><code>def motor_sat(self, wheel_angular_velocities, limit_value):
       phi1 = wheel_angular_velocities[0]
       phi2 = wheel_angular_velocities[1]
       phi3 = wheel_angular_velocities[2]
      
       if phi1 &lt; -limit_value
        phi1_bar = -limit_value
        elif phi1 &lt;= limit_value and phi1 &gt;= -limit_value
        phi1_bar = phi1
        elif phi1 &gt; limit_value
        phi1_bar = limit_value
  </code></pre>
  <p>The error message is:</p>
  <pre><code>[lab3demo1] Traceback (most recent call last):
  [lab3demo1]   File &quot;lab3demo1.py&quot;, line 8, in &lt;module&gt;
  [lab3demo1]     from myRobot import *
  [lab3demo1]   File &quot;/home/user/ele719/controllers/lab3demo1/myRobot.py&quot;, line 66
  [lab3demo1]     if phi1 &lt; -limit_value
  [lab3demo1]                          ^
  [lab3demo1] SyntaxError: invalid syntax
  </code></pre>