how can we draw arc using turtle graphics. any guidance would be great

regards

Type pydoc turtle in a terminal.

pydoc not recoginzed message when i type it in terminal

turtle.circle(radius, extent=None, steps=None)
extent is an angle, 360 by default, less than 360 for an arc

If you want to use a for loop, you could also do this:

for i in range(180):
          turtle.left(1)
          turtle.forward(2)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.