Find the largest and smallest number in python using for loop
Write a python program to find the largest and smallest number in python using for loop Assign first element of an array to largest(lt) and smallest (st) value variable. Traverse the array by using for loop If element of array a[i] is smaller than first element of variable st then assign array element to st….