Write a program that reads a list of integers, and outputs the two smallest integers in the list, in ascending order.
Ex: If the input is:
10 5 3 21 2
the output is:
2 and 3
Hint: Make sure to initialize the second smallest and smallest integers properly.
python please; the ques;tion inputs several different sets of numbers, not just the ones listed
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here