Please read The Below FirstI’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
The professor or anyone will not be able find these answers on any online website?
1. Read all the instructions and let me know if you have any questions about what must be done.
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: A header comment for the programA header for the function describing the parameters and return value.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.

import random
import turtle
def isInScreen(win,turt):
leftBound = -win.window_width() / 2
rightBound = win.window_width() / 2
topBound = win.window_height() / 2
bottomBound = -win.window_height() / 2
turtleX = turt.xcor()
turtleY = turt.ycor()
stillIn = True
if turtleX > rightBound or turtleX < leftBound: stillIn = False if turtleY > topBound or turtleY < bottomBound: stillIn = False return stillIn def main(): wn = turtle.Screen() # Define your turtles here june = turtle.Turtle() june.shape('turtle') while isInScreen(wn,june): coin = random.randrange(0, 2) if coin == 0: june.left(90) else: june.right(90) june.forward(50) wn.exitonclick() main() ... Purchase answer to see full attachment

## Microbiology help please 21 questions Can you answ...

Know the classification...

FORD MOTOR COMPANY 1Running Head: Ford Motor CompanyFord Motor CompanyStudents NameUniversity NameDateInstructor NameFORD MOTOR COMPANY 2Ford motor c...

U6B. Follow the instruction to write 2pages activity using the template Please fill the answer into the template All the wor...

...

...

true false...

## Programming : Semaphores, Shared Memory and Messa...

The link for this assignment is provided below. Please make sure you can do it before you bid:...

## week 5 ip...

You are employed at a large global high-tech company that has offices worldwide in such places as Tokyo, London, Bombay, Toronto, Mexico C...

## CONFLICT AND NEGOTIATION For the Module 3 SLP you...

FIND A SOLUTION AT All A+ Essays CONFLI...

## Statistics- what percent of the fish are longer th...

use the normal distribution of fish lengths for which the mean is 11 inches and the standard deviation is 2 inches. Ass...

## organizational change 59...

Review the Portfolio Project options, assignment requirements, and rubric, which can be found in Module 8. Choose one of the two options. Write...

### Other samples, services and questions:

Calculate Price

When you use PaperHelp, you save one valuable — TIME

You can spend it for more important things than paper writing.

Approx. price
\$65
Order a paper. Study better. Sleep tight. Calculate Price!
Calculate Price
Approx. price
\$65