Referenced from lesson Defining Values
shape1 = triangle(50, "solid", "red")
Type the line of Code above into the Definitions Area of a new program, and press “Run”.
1) What happens when you enter shape1
into the Interactions Area?
2) Brainstorm some other values to define. Use the space below to draw any Circles of Evaluation you need and to organize your thoughts.
Ideas: eye-color
(a String), age
(a Number), fav-shape
(an Image)
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). Bootstrap:Integrated Oklahoma by Jen Poole is licensed under a Creative Commons 4.0 Unported License. Based on a work at www.BootstrapWorld.org. Permissions beyond the scope of this license may be available by contacting schanzer@BootstrapWorld.org.