Students will use Turtle Graphics in Python to create a program that will draw a categorize triangles based on user input. This course is designed for students who have taken or are taking a geometry course. The approximate length of this course is 1-3 hours.
By the Numbers
|Categorizing Triangles: Explore how computers can be used to perform calculations and make decisions based on user input! Turtle Graphics in Python will be used to draw a triangle and write text to the screen. Computer science concepts such as if/else statements, variables, functions, and mathematical, logical, and comparison operators will be used to print the resulting triangle category.|
Click on a demo to test it out.
Calculate the Area
Putting Triangles into Categories using Variables
Format of Course
The entirely web-based curriculum is made up of a series of learning items that introduce students to some fundamentals of programming. Each lesson is made up of short video tutorials, example programs, and programming exercises. The course is designed as an integrated, 1-3 hour long mini-unit, though schools implement it in a variety of ways.
Who is it for?
The Categorizing Triangles mini-unit is designed for complete beginners with no previous background in computer science, though they should have some knowledge of geometry and the concept of right, acute, and obtuse triangles. The course is highly visual, dynamic, and interactive and should be used with high school math students.
Interested in teaching the Categorizing Triangles mini-unit with CodeHS? Get in touch, so we can help you bring CodeHS to your school!Bring to My School