On Fri, Nov 8, 2013 at 4:54 AM, donsuni 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
On Fri, 8 Nov 2013 04:54:53 -0800 (PST), donsuni
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?
Curre
On 08/11/2013 12:54, donsuni 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
seq_num([3,2,5,7])=[3,5,7] since 5 is >3, and 7>5
seq_num