Answer to Question #5614 in Python for Fahad

Question #5614
(defun callie (x y)
(if x
(callie (cdr x) y))
(if (= (mod (car x) y) 0)
(format t "~a~%" (car x))))

Looks like the code tries to print all possible values from the list X where the value is exact-divisible by Y.

It has some errors in it, though.
I need to identify the functionality and then repair it
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS