Impetus Technologies Interview Question

python prorgam to find second min number