**Question:**

**Repl link:**

```
code snippet
```help me write a code in turtle to display a radius an area of a circle
```

**Question:**

**Repl link:**

```
code snippet
```help me write a code in turtle to display a radius an area of a circle
```

Hi @wifaGerman , welcome to the forums!

We cannot help you if this is a school asignment, but we can give you hints.

Use the `turtle.circle()`

function to display a circle.

1 Like

You would have to use math to calculate the area of a circle.

If you wanted to display the area of a circle;

You would need to calculate where the area = πr2 = πd2/4, where ‘r’ is the radius and ‘d’ is the diameter. (You may have to use math.pi instead of the pi symbol)

Then you would just stringify the result, and display it with `turtle.text()`

I’d recommend checking out lower on this page where you can see calculations on how to do this.

Hope this helps!

1 Like