Exploring triangle symmetries with Python Turtle

Making connections between GCSE Computer Science and GCSE Maths is a great way to turbo-charge your learning in both subjects. There are so many areas where the same knowledge can come up in both. For example coordinates, variables, inequalities, formulas and many other topics. There is an article about calculating distance here, with a game that shows a fun application.

Building Python programs to explore ideas from Maths is a great way to practice your coding skills and deepen your knowledge of Maths at the same time.

It’s also very handy for teaching – once you have gained some skill using a Graphical User Interface such as turtle or Tkinter, you can fairly easily code up a game or demonstration program to help make learning more engaging and effective.

Below is a program that allows you to explore the symmetry of an equilateral triangle. There are some parts which are a little complex for GCSE Computer Science level (the Tkinter buttons for example), but with a little work and learning, you will probably be able take parts of the code and use them for your own programs.

A Program to explore Triangle Symmetries with Python Turtle Graphics

This code can be found on my GitHub.

If you need any help understanding the code or have any questions or comments, please let me know in the comments section below.

Leave a Reply

Your email address will not be published. Required fields are marked

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Join our mailing list

Join our mailing list to receive awesome articles about learning Python and Computer Science in a fun and accessible way, straight to your inbox.

 Take your Python skills to the next level!

with our free email course on object oriented programming with Python