Question: (Python) Please do NOT solve it by using string or special functions(like max min, divmod), I have to ask the same questions again and again

(Python)
Please do NOT solve it by using string or special functions(like max min, divmod), I have to ask the same questions again and again otherwise, thanks for your understanding.
Write a program that inputs positive integer value from the user. The program should find and display the second largest digit in the input number. Note: the number of digits may vary. Sample Run: Enter positive integer (negative to quit): 1429 The second largest digit in 1429 is 4 Sample Run: Enter positive integer (negative to quit): 1234 The second largest digit in 1234 is 3 Sample Run: Enter positive integer (negative to quit): -25 Number cannot be Negative Sample Run: Enter positive integer (negative to quit): 5 Number must be at least Two-digits
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
