Python code

Write a Python (or R) program that asks the user to enter an integer (X), then:

Determines if X is prime or not,
If X is not prime, compute and print the factors of that integer X
Evaluate and print the equation Y=8X2+ 1, for X values from -5 to 5 using the range function and for loop (explained in my recorded video about Python

examples).

Unlock Your Academic Potential with Our Expert Writers

Embark on a journey of academic success with Legit Writing. Trust us with your first paper and experience the difference of working with world-class writers. Spend less time on essays and more time achieving your goals.

Order Now