On Fri, 8 Nov 2013 04:54:53 -0800 (PST), donsuni <dons...@gmail.com> wrote:
Hi, I have a problem in python which is kind of tricky.
Your wording is kind of tricky.

and so on without using any inbuilt functions.

But you use len() and range().
Has your class taught about generators or list comprehensions? Currently your function returns an int, not a list. Changing it from a function to a generator might be easiest.

--
DaveA

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

Reply via email to