(cond
[(<= (string-length s) 5) 10]
[(string=? s “hello”) 50]
[(string=? (substring s 1 4) “ell”) 25]
[else 130])
new to racket. im trying to find out what would ii get as a value if I replace
the s with “hello”
its easier to do this with numbers where you would define s and give it a
I am trying to draw a small house in Racket. It draws a house frm a triangle,
square, and rectangle. So it consumes a number and draws the shapes, places,
them, and forms a neat house.
This is what I have so far
(overlay/align "center" "bottom"
(triangle 40
2 matches
Mail list logo