python smallest number code example
Example 1: smallest possible number in python
The smallest possible number in python (not underflow to 0)
is the smallest possible subnormal number.
L_sub < (machine_epsilon * 2**L) = (2**-52) * (2**-1022) = 2**-1074
Thus, smallest_number = 2*-1074 => 5e-324
Example 2: how to print smallest number in python
lis = []
count = int(input('How many numbers? '))
for n in range(count):
number = int(input('Enter number: '))
lis.append(number)
print("Smallest element of the list is :", min(lis))