From 9d65b147ca3c6aeb6488d999a3e1503f4eff2748 Mon Sep 17 00:00:00 2001 From: joen Date: Sun, 31 Aug 2025 22:14:08 +0800 Subject: [PATCH] Experimented with Turtle and made a house Excited to experiment and change the code to see the result and/if an error pops up. --- drawing.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drawing.py b/drawing.py index f3ee2e9..5062dcd 100644 --- a/drawing.py +++ b/drawing.py @@ -6,17 +6,22 @@ from turtle import ( penup, pendown, color, + pensize ) +pensize(5) forward(100) -right(360 * 2 / 5) +right(90) forward(100) -right(360 * 2 / 5) +right(90) forward(100) -right(360 * 2 / 5) +right(90) forward(100) -right(360 * 2 / 5) -forward(100) -right(360 * 2 / 5) +color('red') +pensize(20) +right(45) +forward(70) +right(90) +forward(70) input()