title: SyntaxError with single line while loop in timeit python module
body: <p>I am trying to execute a timing test for while loop in python. 
  However, I am getting a syntax error from <code>timeit.timeit</code>. Below is the setup for working code on for loops: </p>
  
  <pre class="lang-py prettyprint-override"><code>import timeit
  
  iterations = 100000; n = 100
  t = timeit.timeit(lambda: [i for i in range(n)], number = iterations)
  print("With range: ",t)
  </code></pre>
  
  <p>This works without issue. </p>
  
  <p>However, when I try the following on a while loop, I get a SyntaxError pointing to the 'e' in while.</p>
  
  <pre class="lang-py prettyprint-override"><code>iterations = 100000; n = 100; i = 0;
  t = timeit.timeit(lambda: while i &lt; n: i+=1, number = iterations)
  print("With while: :",t)
  </code></pre>
  
  <p>However, I know this one line while loop works. </p>
  
  <pre class="lang-py prettyprint-override"><code>n = 3; i = 0;
  while i &lt; n: print(i); i+=1
  # Output: 
  # 0
  # 1
  # 2 
  </code></pre>
  
  <p>So, I wondering if someone knows that issue here. Thanks. </p>