DS 510 - Week 8 Assignment Write, a program in Python to accept a numeric value from
Fantastic news! We've Found the answer you've been seeking!
Question:
DS 510 - Week 8
Assignment
- Write, a program in Python to accept a numeric value from user. Identify if the given number is Prime number or not.
- If the number is not a prime number, display all numbers with which that input number is divisible by.
- Provide comments wherever necessary.
- As a part of submission, upload your iPython notebook.
- 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.
All the best.
Posted Date: