Write a program which uses four functions [ 1 for each part ofthe assignment ]:
1. Display all numbers between 1 and n, where n is an input fromthe user.
2. Display the reverse of a number n, where n is input from theuser.
3. Display the following pattern for n rows, where n is inputfrom the user:
(ON PYTHON IDLE 3.7.2)
Again, define a function for each part of the assignment, define a mainO function that calls the
OR
OR