Question: Python write 2 functions to display integers from a to b 1 - the first function called display1(a,b) displays integers from a to b including
Python
write 2 functions to display integers from a to b
1 - the first function called display1(a,b) displays integers from a to b including a and b
ex: enter the value of a : 6
enter the value of b : 9
6 7 8 9
2 - the second function called display2(a,b) displays integers from a to b with a step of 2. a is included in the display and b is included depending of the cases.
ex: enter the value of a : 8
enter the value of b : 15
8 10 12 14
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
