numbers = [1, 5, 2, 10, 9, 3, 5]
print(min(numbers))
# creating empty list
lis = []
# user enters the number of elements to put in list
count = int(input('How many numbers? '))
# iterating till count to append all input elements in list
for n in range(count):
number = int(input('Enter number: '))
lis.append(number)
# displaying smallest element
print("Smallest element of the list is :", min(lis))
The smallest possible number in python (not underflow to 0)
is the smallest possible subnormal number.
# L is the lowerbound exponent given by IEEE754 double precision.
L_sub < (machine_epsilon * 2**L) = (2**-52) * (2**-1022) = 2**-1074
Thus, smallest_number = 2*-1074 => 5e-324