1
00:00:00,120 --> 00:00:06,960
We can use the math dot men or math dot max function to find the lowest or highest value in a list of

2
00:00:06,960 --> 00:00:13,060
arguments this example script provides an illustration of how this works.

3
00:00:13,120 --> 00:00:21,450
Here we have a list of numerical values we can use the math dot main function to locate and output the

4
00:00:21,450 --> 00:00:31,300
lowest value in this case the math on Main function should output negative 150 let's test this in our

5
00:00:31,300 --> 00:00:36,390
web browser to see if it works.

6
00:00:37,450 --> 00:00:42,160
We can see you know Web browser the negative one hundred and fifty is in fact output.

7
00:00:43,490 --> 00:00:51,230
But what if we wanted to see the maximum value listed in this sequence of numbers.

8
00:00:51,530 --> 00:01:01,180
In that case all we have to do is update min to max save the file and refresh.

9
00:01:01,190 --> 00:01:03,770
Now we have the highest value in that list.

10
00:01:03,760 --> 00:01:04,460
Six hundred.
