Mettl findLargeSmallDifference Solution | Codewindow.in

The solution in Python 3

#www.codewindow.in

n=int(input())
arr=list(map(int, input().split()))

ma=max(arr)

mi=min(arr) #codewindow.in

print(ma-mi)

#Telegram @codewindow
Recent Posts

Leave a Comment

Your email address will not be published. Required fields are marked *