[Tutor] sequence of elements problem
Danny Yoo
dyoo at hashcollision.org
Fri Nov 8 20:17:07 CET 2013
On Fri, Nov 8, 2013 at 4:54 AM, donsuni <donsuni at gmail.com> wrote:
> Hi, I have a problem in python which is kind of tricky.
>
> if i give a sequence of numbers, i should get another sequence of numbers
> such that the the elements exceeds previous element in the list. For eg
>
Have you written any other functions that takes lists and produce lists?
If so, can you show them to us?
The function you have so far is one that takes a list, but (at best) it's
returning a single element in the list.
That means you may not yet know how to write functions that produce lists.
Do you know how to do so yet?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131108/b7f30e92/attachment.html>
More information about the Tutor
mailing list