[Tutor] another better way to do this ?

Alan Gauld alan.gauld at btinternet.com
Sun Jan 12 19:03:29 CET 2014


On 12/01/14 14:43, Dave Angel wrote:

> so try
>
> if set (b) <= set (a):

Ooh, nice! For some reason I've never thought of
applying set to a string before.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos



More information about the Tutor mailing list