> who sent me a Lisp program computing ...
I don't really know Lisp, but how do you get a Lisp to run that expression? I tried it in Emacs Lisp, Racket, Common Lisp.
It runs just fine in Python, and returns: 29760
I don't really know Lisp, but how do you get a Lisp to run that expression? I tried it in Emacs Lisp, Racket, Common Lisp.
It runs just fine in Python, and returns: 29760
Appears to be Python?
Here's it converted to Common Lisp:
(defun sum (years hours-per-week weeks-per-year)
(* (* years hours-per-week) weeks-per-year))(* 48 (+ (* 4 10) (* 2 30) (* 5 20) (* 6 20) (* 6 25) (* 15 10) ))