turtle.begin_fill() function in Python (original) (raw)

Last Updated : 22 Aug, 2025

turtle.begin_fill() function mark the starting point for filling a shape. Any drawing commands executed after this call (until turtle.end_fill()) will be filled with the currently set fill color.

**Syntax :

turtle.begin_fill()

**Parameters: This function does not take any parameters.

**Return Value: This function does not return anything. It only changes the turtle’s state to fill mode.

**Example:

Python `

import turtle

turtle.up() turtle.goto(0, -30) turtle.down() turtle.color("yellow")

turtle.begin_fill() turtle.circle(60) turtle.end_fill()

turtle.hideturtle() turtle.done()

`

**Output :

**Explanation: