Maximum difference between adjacent elements of list: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
strList = "[2,-3,0,1,1,-2.3,0,5.5,8,6,2,9,11,8,1]" |
strList = "[2,-3,0,1,1,-2.3,0,5.5,8,6,2,9,11,8,1]" |
||
see "Maximum difference between adjacent elements of list is:" + nl + nl |
see "Maximum difference between adjacent elements of list is:" + nl + nl |
||
see "Input list |
see "Input list= " + strList + nl + nl |
||
see "Output:" + nl |
see "Output:" + nl |
||
sList = [2,-3,0,1,1,-2.3,0,5.5,8,6,2,9,11,8,1] |
sList = [2,-3,0,1,1,-2.3,0,5.5,8,6,2,9,11,8,1] |
||
Line 58: | Line 58: | ||
Maximum difference between adjacent elements of list is: |
Maximum difference between adjacent elements of list is: |
||
Input list |
Input list= [2,-3,0,1,1,-2.3,0,5.5,8,6,2,9,11,8,1] |
||
Output: |
Output: |