Using arithmetic equations in Python
<p>is there a way to round the value down to the lowest integer for this?</p>

<pre><code>x = 5.5
z = 1

x -= z
</code></pre>

<p>x is just 4.5 in this case</p>

<p>but I want something like this</p>

<pre><code>x = int(x - z)
</code></pre>

<p>which produces x as 4 but i would like to use the '-='</p>

<p>is there a way?</p>

<pre><code>x = 5.5
a = 1
x -= a
x = int(x)
</code></pre>

<p>Try this. It will work</p>

python