Please enable JavaScript to use CodeHS

Coding in Math

Categorizing Triangles

[Middle School, 1-3 Hours] Students use Turtle Graphics in Python to create a program that draws and categorizes triangles based on user input and proper if/else statements, functions, and mathematical operators.

Lessons

5.1 Calculating Area

  • Calculating Area
  • Calculating Area
  • Drawing a Custom Triangle
  • Calculate the Area

5.2 Categorizing Triangles with a Static Base Value

  • Categorizing Triangles with a Static Base Value
  • Categorizing Triangles with a Static Base Value
  • Categorizing Obtuse Triangles
  • Putting Triangles into Categories

5.3 Categorizing Triangles with a Varied Base Value

  • Categorizing Triangles with a Varied Base Value
  • Categorizing Triangles with a Varied Base Value
  • Categorizing Obtuse Triangles using Variables
  • Using Variables to Calculate Area
  • Putting Triangles into Categories using Variables

Courses that include this module