Write a Python program to print largest element in an array


Topic: Write a Python program to print largest element in an array

Solution

arr = [10, 324, 45, 90, 9808] 
print(f'the largest element in the array is {max(arr)}')



List all Python Programs