Question
Write a Python program that asks the user to enter two, even, 2-digit integers (in any order) and then prints (on one line separated by
Write a Python program that asks the user to enter two, even, 2-digit integers (in any order) and then prints (on one line separated by spaces) all odd integers between these inputs in ascending order. A final line should display the sum of the odd integers printed. If user input does not meet the prompts, the user should be notified.
Sample Output 1
Enter an even 2-digit integer 12
Enter another even 2-digit integer 20
13 15 17 19
Odd number total: 64
Sample Output 2
Enter an even 2-digit integer 40
Enter another even 2-digit integer 20
21 23 25 27 29 31 33 35 37 39
Odd number total: 300
Sample Output 3
Enter an even 2-digit integer 11
Enter another even 2-digit integer 20
Bad input(s). Try again
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started