[Solved] Maximum value from contiguous part of a list
[ad_1] A simple example, define a list with five elements, print the max from the second until the third index. max is a built-in function. max: Return the largest item in an iterable or the largest of two or more arguments. l = [1,2,3,4,5] print (max(l[2:3])) [ad_2] solved Maximum value from contiguous part of a … Read more