On Fri, Nov 8, 2013 at 4:54 AM, donsuni <dons...@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?
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor