"How to Make a Target with Pthton: Any Tips or Step-by-Step Guides?"

9 Replies, 1377 Views

lol at the pthton typo, but we all start somewhere! For how to make a target with pthton, I’d recommend using `turtle` if you want something super simple and visual. It’s built-in, so no extra libraries needed.

Here’s a quick snippet:
```python
import turtle
t = turtle.Turtle()
for i in range(4):
t.circle(20 * i)
t.up()
t.sety((20 * i) * (-1))
t.down()
turtle.done()
```
This draws concentric circles like a target. It’s fun to play around with!

Messages In This Thread



Users browsing this thread: 1 Guest(s)