Question: use python only Write a program that asks the user to enter 2 integer numbers. The program should display the sequence of integer numbers from
use python only
Write a program that asks the user to enter 2 integer numbers. The program should display the sequence of integer numbers from the smallest number to the largest number in ascending order, including both the start and end values. The program should display the numbers with a single space separating each number. Notes - Your code must use a while loop. - It does not matter if your output includes a trailing space (i.e., spaces at the end of a line will be ignored). - When using the print function, the argument end=" " may be useful e.g., print (, end=" "). - You might find the built-in functions min() and max() useful. - It does not matter whether the first or second number is larger, the program will always display the sequence from smallest to biggest. For example
Step by Step Solution
There are 3 Steps involved in it
Heres a Python program that prompts the user to enter two integer numbers and then displays the s... View full answer
Get step-by-step solutions from verified subject matter experts
