67 135
Assignments Done
99,3%
Successfully Done
In November 2018

Answer to Question #2492 in Python for ChicagoJosh2011

Question #2492
Hello, i have 2 python programming questions left to answer, and was wondering if you guys could help.

1) The Goldbach conjecture asserts that every even number is the sum of two prime numbers. Write a program that gets a number from the user, checks to make sure that it is even, and then finds two prime numbers that sum to the number.

2) Write a program that graphically plots a regression line, that is, the line with the best fit through a collection of points. First ask the user to specify the data points by clicking on them in a graphics window. To find the end of input, place a small rectangle labeled "Done" in the lower left corner of the window; the program will stop gathering points when the user clicks inside that rectangle.

Any help, tips, or solutions would be greatly appreciated :)!
Expert's answer
Your question requires a lot of work and cannot be done for free. Submit it as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions