To help give you an introduction to coding we can use a basic code called Logo. Click here for the website. The code we write for this gives instructions to a 'turtle' to move and turn and draw a line as it goes.
The code FD 100 will make draw a line. FD 200 will draw a longer line. We can make a left turn (LT) or a right turn (RT) by degrees. For example, RT 90 will turn right 90 degrees. RT 180 will turn around. CS will clear the screen. PU is pen up and PD is pen down. Can you see the pattern?
See if you can find out what shape the following code is for. If you're not sure, you could copy and paste it into the program and see what happens.
FD 150 LT 90 FD 100 LT 90 FD 150 LT 90 FD 100