Run
# Python program to find the smallest number # List a = [18, 52, 23, 41, 32] # Sort the list, default is in ascending order a.sort() # Smallest number smallest = a[0] # Print the smallest number print("Smallest number is: ",smallest)
Output