Posted on 25th July 2024| views
To find the minimum or the smallest integer in the list, we can simply use the method called sort and then can print the first integer in the list the example program is
list = [5, 15, 22, 3]
list.sort()
print("The Smallest element in the list:", *list[:1])