title: The usage of reverse() in Python
body: <p>I used two different ways to create a reverse list.<br>
  The first way:   </p>
  
  <pre><code>&gt;&gt;&gt; a=list(range(3))  
  &gt;&gt;&gt; a.reverse()  
  &gt;&gt;&gt; print(a) 
  [2,1,0]   
  </code></pre>
  
  <p>The second way:  </p>
  
  <pre><code>&gt;&gt;&gt; a=list(range(3)).reverse()
  &gt;&gt;&gt; print(a)
  None   
  </code></pre>
  
  <p>Why does the second way does not work?Thanks for any help.</p>