<div dir="ltr">Guys<div>I solved it myself</div><div>1.  reverse()  method doesn't return a value, it just reverses the self list in place.</div><div>2. The function reverse()  does not exist.<br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr">Andrew</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 11 Apr 2021 at 16:39, Andrew Smith <<a href="mailto:asmith9983@gmail.com" target="_blank">asmith9983@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Guys<div>I have a Raspberry Pi and  after some thought, decided I should learn Python as it's the  language most used in projects around it,and also in data science. </div><div>Knowing C++, and Haskell, I thought it would be simple. <i>Hello World</i>  was no problem, but lists have been less so.</div><div><br></div><div>I've attached my test code.  I Had to comment out lines 5 & 6 to get any output. </div><div>Why  does  .reverse(0 not work as a list method on line 5, and then as a stand alone function on  line 7 ?<br clear="all"><div><div dir="ltr"><div dir="ltr">Andrew</div></div></div></div></div>
</blockquote></div>