[Tutor] Don't Understand Problem

Alan Gauld alan.gauld at btinternet.com
Thu Feb 26 15:35:59 CET 2015


On 26/02/15 11:06, Timo wrote:
>> If you need to use it as a list you need to explicitly
>> convert it using list():
>>
>> unvisited_caves = range(0,20)
> I think you missed your own solution here, Alan. You probably meant:
>
> unvisited_caves = list(range(0, 20))

Oops! Thanks for picking that up.


-- 
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