[Tutor] Fib sequence code assignment
Alan Gauld
alan.gauld at btinternet.com
Sat Mar 22 00:04:03 CET 2014
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
More information about the Tutor
mailing list