need-help-with-python-1

Please read The Below First

I’m looking for someone who does not use Chegg or Course Hero or any online cites to provide your answers. The professor checks these other sites as well. If you do this to provide your answers and don’t use your own, let me know immediately so I can choose someone else to assist me. I have been notified that an assignment was linked to Chegg or Course Hero etc.

Someone that uses their own words, so nothing can be found on the internet.

Someone who does not Plagiarize others work from online websites.

I have word documents attached with the instructions.

Then let me know.

Thank you.

Subjects are:

Python

Your answers will be original?

The professor or anyone will not be able find these answers on any online website?

Please answer:

1. Read all the instructions and let me know if you have any questions about what must be done.

2. Your answers will be all original?

3. Do you guarantee that all your work is original and none of what you write can or will be found on any online site?

Therefore, I try to provide a longer time for the work to be completed.

Assignment:

  • Write appropriate comments for this program and function. Include:
    1. A header comment for the program
    2. A header for the function describing the parameters and return value.
    3. Comment the blocks of code.
      The text has descriptions of all this, so reread that if necessary.
  • Create a new turtle, a black hole turtle, that moves to some random location on the screen and draws a black dot of diameter 100. Use the .dot function instead of .circle, since you want the turtle at the center of the figure. [As of Fall 1, 2018, there is a bug in the active code window. If you are using the textbook to write this program, use may have to use dot(50) to get the correct size black hole. If you are using a stand-alone python compiler, use dot(100).]
    This should be done in the main function before creating the randomly walking turtle.
  • Write a boolean function that has two turtles as parameters, and returns true if the turtles are within 50 units of each other and false otherwise.
    There are several ways to determine the distance between two turtles. You could use math.sqrt or math.hypot to compute the distance. If you read the turtle documentation, you may find another way as well. Talk to the instructor if you are having trouble with this. Be sure to comment this function.
  • Modify the while loop so that the program stops when the turtle leaves the screen or when it touches the black hole. Use your Boolean function from Step 3.
  • Modify the function isInScreen so that the function only returns false if the turtle wanders off the top or bottom of the screen.
    The next step is going to deal with the turtle moving off the screen horizontally.
  • Modify the body of the while loop so that if the turtle wanders off the screen either to the right or the left, it reappears on the opposite side of the screen.
  • Add another feature to your program. Either more randomness, or one more randomly walking turtle, or multiple black holes, or ???

    This doesn’t have to be too fancy, but should be more than just adding one line of code.