On 21/03/14 21:21, Gary wrote:

Got kinda close using temporary variable,but didn't know enough to use del.

You don't really need to usae del, thats just being closer to what Python does - ie not leaving any temporary variables lying around. But in most programming languages you wouldn't bother deleting the temporary variable you'd just call it temp or somesuch.

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

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to