How can we make a hexagon on code org using the app lab and turtle (please write in block-based coding.)? Please help me out!
Answers
Answered by
2
Answer:
# Python program to draw hexagon
# using Turtle Programming
import turtle
polygon = turtle.Turtle()
num_sides = 6
side_length = 70
angle = 360.0 / num_sides
for i in range(num_sides):
polygon.forward(side_length)
polygon.right(angle)
turtle.done()
Explanation:
hello pls see this once!
Answered by
1
Answer:
these are the codes
Attachments:
Similar questions
English,
4 months ago
Biology,
4 months ago
Math,
9 months ago
Biology,
1 year ago
Social Sciences,
1 year ago