Chat with us, powered by LiveChat Any topic (writer’s choice) | Writeden

1.    Write a program in Python to accept a numeric value from user. Identify if the given number is Prime number or not.
2.    If the number is not a prime number, display all numbers with which that input number is divisible by.
3.    Provide comments wherever necessary.
4.    As a part of submission, upload your iPython notebook.
5.    Grading will be done by running the iPython notebook code and inputting 10 difference values, randomly chosen (mix of prime and non-prime numbers). Your code should be able to identify any and every prime number passed on to it as an input.