Use Python to write a function display(num). The value of num is the parameter. If num is even, the function will display the even numbers in the range of 1 to num (both inclusive). If num is odd, the...


Use Python to write a function
display(num).


 The value of num is the parameter.



  • If num is even, the function will display the even numbers in the range of 1 to num (both inclusive).

  • If num is odd, the function will display the odd numbers in the range of 1 to num (both inclusive).



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here