Kermit: The domain of gt is Number, String, String.

Oscar: The domain of gt is Number.

Ernie: I’m not sure who’s right!

In order to make a triangle, we need a size, a color and a fill style…​

but all we had to tell our actor was gt​(​20​)…​and they returned triangle​(​20, "solid", "green"​).

Please help us!

1 What is the correct domain for gt?

2 What could you tell Ernie to help him understand how you know?

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). CCbadge Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.