# circle()

### Example

![](https://768248463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbs7pgU3AVBY06Rl9M31%2Fuploads%2FDhGZaznqp1LEsKUCV79t%2Fcircle.png?alt=media\&token=b1196a5b-6c9e-4b76-8c97-022a23fbc5d5)

```python
circle(200, 200, 150)
```

### Syntax

```python
circle(x, y, diameter)
```

<table><thead><tr><th width="167">Input</th><th>Description</th></tr></thead><tbody><tr><td>x</td><td>x co-ordinate of the center</td></tr><tr><td>y</td><td>y co-ordinate of the center</td></tr><tr><td>diameter</td><td>diameter of the circle</td></tr></tbody></table>

<figure><img src="https://768248463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbs7pgU3AVBY06Rl9M31%2Fuploads%2F7b9ujRAHcVUjrGSrFhVL%2Fimage%20(4).png?alt=media&#x26;token=901f0c11-2596-44b3-a64f-f0be72a299bd" alt=""><figcaption></figcaption></figure>

### Description

**circle()** draws a circle on the canvas, using the inputs to determine the position and dimension of the shape.

{% hint style="info" %}
Find these documents helpful? Let the people who made them help your child learn to code at [**Strivemath**](https://www.strivemath.com/)<mark style="color:blue;">**!**</mark>

We'd love to hear your Feedback/Comments [here](https://docs.google.com/forms/d/e/1FAIpQLSeqorBAGTya-YBRI-VFjJxtgQtCz3ucGDI96K96sNyuaGuvdw/viewform?usp=sf_link).
{% endhint %}
