[Tutor] __name__=='__main__'
Alan Gauld
alan.gauld at btinternet.com
Tue Feb 21 01:10:04 CET 2012
On 20/02/12 23:46, Michael Lewis wrote:
> it inside my last function and the program ran. (side note, I have an
> error in my return for MultiplyText that I am still trying to work out,
You can remove the outer for loop, you are already looping over text
inside the generator expression.
HTH,
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list