4.
3 points
There are lots of other kinds of triangles! And Pyret has lots of other functions that make triangles!
triangle :: (size:: Number, style :: String, color :: String) -> Image
right-triangle :: (base::Number, height::Number, style::String, color::String) -> Image
isosceles-triangle :: (leg::Number, angle::Number, style::String, color::String) -> Image
Why do you think triangle only needs one number, while right-triangle and isosceles-triangle need two numbers and triangle-sas needs three?
This is a 3 point question. Please make sure you answer all of the questions.