Question: Create a module named advance_math, add functions to 1) calculate factorial, 2) check if a number is prime or not, 3) reverse of number, 4)

Create a module named advance_math, add functions to

1) calculate factorial,

2) check if a number is prime or not,

3) reverse of number,

4) check if a number is armstrong or not

Import this module in main.py file and create a menu for user, call the function based on user's choice, with input from user

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!