title: Writing a program to reverse the list in Python
body: <p>I am trying to write a python program to reverse an array and have come up with the following code:</p>
  <pre><code>lis = [1,2,3,4,5,6]
  i = 0
  k = 0
  while i &lt;= (len(lis)/2):
     for j in lis[::-1]:
        lis[k] == j
  k+=1
  i+=1
  </code></pre>
  <p>But the list is not changed at all. Need Help!
  P.S Without using reversed method ofc.</p>