I have to make this code called cube-two where it takes two numbers and cubes 
the both of them .

This is what I have so far:

(define cube-two(lambda(X Y)(list'(* X X X)(* Y Y Y))

but the problem is, is that it only executes Y like the example below...

> (cube-two 3 4)
((* x x x) 64)

How would I make it so it will execute both numbers?

For instance

>(cube-two 3 4)
(27 64)
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to