Question

Use python to do this. Will rate and thanks Write a function to draw three heights for a acute ...

Use python to do this. Will rate and thanks


Write a function to draw three heights for a acute triangle via turtle. The input of the function are the coordinates of three vertexes. Hint: https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Using Turtle we can create different geometrical shapes like squares, rectangles, triangles and so on.

The answer to your question would be:

from turtle import *

def= draw.triangle()

canvas= turtle.screen()

canvas.setup(600, 400)

bob= turtle.Turtle()

bob.forward(100)

bob.left(120)

bob.forward(100)

bob.left(120)

bob.forward(100)

canvas.exitonclick()

draw_triangle()

Add a comment
Know the answer?
Add Answer to:
Use python to do this. Will rate and thanks Write a function to draw three heights for a acute ...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT