python code 13

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).

"Order a similar paper and get 100% plagiarism free, professional written paper now!"

Order Now