diff --git a/Python/square.py b/Python/square.py new file mode 100644 index 0000000..6152306 --- /dev/null +++ b/Python/square.py @@ -0,0 +1,16 @@ +# Github username: Sonucoder +# Aim: Draw a square using python +# Date: 11/10/2022 +import turtle +x=turtle.Turtle() +def square(circle): + x.forward(100) + x.right(circle) + x.forward(100) + x.right(circle) + x.forward(100) + x.right(circle) + x.forward(100) + x.right(circle+10) +for i in range(36): + square(90)