Referenced from lesson Defining Functions

Contract:

Purpose Statement:

If I type…​ It should map to…​

EXAMPLE #1: Circle of Evaluation

gt
75
(gt 75)

 

 

 

 

 

 

 

Code: gt​(​75​)

Circle of Evaluation:

triangle
75"solid""green"
(triangle 75 "solid" "green")

 

 

 

 

 

 

 

Code: triangle​(​75, "solid", "green"​)

EXAMPLE #2: Circle of Evaluation

 

 

 

 

 

 

 

 

Code:

Circle of Evaluation:

 

 

 

 

 

 

 

 

Code:

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). CCbadge 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.