I want to print the second smallest number without using any array but it doesn't work. This is what I've done so far.
numbers = 5
print('Enter your numbers\n')
for x in range(0, numbers):
use = input('Enter #' + str(x + 1) + ': ')
if x == 0:
small = int(use)
second = small
if int(use) < small:
small = int(use)
if small > second:
second = int(use)
print('\nSecond smallest number is ' + str(second))