From e7fa4e9eb73ca9e6188e5ed73353bf22d441cf23 Mon Sep 17 00:00:00 2001 From: mbhatti4 Date: Sun, 5 Oct 2025 16:47:35 -0400 Subject: [PATCH] Submit 2: Here i wrote the fucntion for the body. I first positioned myself on the canvas where i wanted to start drawing and then called the oval function to draw it out. I am struggling to get the program to draw. I don't think there is any errors in my code, as it is farily simple, but when i run it, it justdraws a weird shape. --- drawing.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drawing.py b/drawing.py index ae30508..a51ef54 100644 --- a/drawing.py +++ b/drawing.py @@ -30,4 +30,12 @@ def draw_wing(x, y, width, height, color, angle): pendown() draw_oval(t, width, height, color) + +def draw_body(): + penup() + goto(0,-100) + setheading(90) + pendown() + draw_oval(10,45,"black") + input() \ No newline at end of file