[Tutor] help with homework
chigga101 at gmail.com
Mon Oct 29 02:40:09 CET 2012
> In your original getNames do something like this.
>> Initialise a counter to zero.
>> Every time you get a valid name increment the count.
>> If the count is three you're finished.
> hey i was looking at the question as im learning also. With the counter,
would you use a while loop instead of a for loop, with the condition being
something like, while count < 3: ? without len() the for loop option seems
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor