[Tutor] overlapping tuples

Alan Gauld alan.gauld at yahoo.co.uk
Sat Feb 29 08:16:10 EST 2020


On 29/02/2020 13:05, Alan Gauld via Tutor wrote:

> ranges are also a thing in Python, you can define a range from
> n to m-1 as range(n,m-1).

Oops! That should, of course, be range(n,m)

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list