Home > Art, Problem, Projects/Experiments, Python > Python Drawing flower

Python Drawing flower



Python: Draw Flower

Drawing with Python

In this post I am using some codes to draw mathematical shapes that looks like flower.

To do this we need to import turtle library, then using circle function to complete our work. You may play around with the numbers and figure out what will happen.


#python #code
import turtle
t = turtle.Turtle()
t.hideturtle()
t.pendown()
for x in range (30):

t.circle(60,70)

if x % 2 == 0:

t.circle(10,70)








Follow me on Twitter..

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Discover more from Ali's Photography Space...

Subscribe now to keep reading and get access to the full archive.

Continue reading