title: why swaping of two numbers in python in the following way gives syntax error in python programming
body: <p>i want to swap two numbers in the following way but i don't know why it gives the syntax error</p>
  <pre><code>numOne = 10;
  
  numTwo = 20;
  
  numTwo = numOne + numTwo - (numOne = numTwo);
  </code></pre>
  <p>it gives syntax error at = of (numOne = numTwo)</p>
  <p>is there any reason and the solution??</p>