<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 17, 2014 at 1:12 PM, Terry Reedy <span dir="ltr"><<a href="mailto:tjreedy@udel.edu" target="_blank">tjreedy@udel.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">Range gives you a lot for free, including slicing.</div>
</blockquote></div><br></div><div class="gmail_extra">I have wondered why Python has both slice and range, given the power that range has. Is there anything that slice can do that range can't, or are there some functional differences?</div>
</div>