#array
Read more stories on Hashnode
Articles with this tag
Write a Python program to sort a given array in ascending order : a=[2,4,8,1,4,6] a.sort() print("The ascending order ",a) Output : The ascending...
Write a Python program to find the second largest element in an array:- x=[2,7,3,4,9,0,2] x.sort() print("The second largest element...
Write a Python program to find the largest element in an array : a=[56,78,34,90,23,56,34] a.sort() print("The largest element is",a[-1]) Output: The...