Reputation: 673
I have list of lists:
((1500) (2500) (3500))
Now, I want to use the values in each list. when I do (car list), It give me (1500) - list, but I want the value 1500 (int).
How can I do it?
Thank u!
Upvotes: 1
Views: 117
Reputation: 2725
You need the car
of the list containing 1500, which will be the value.
Something like:
(car (car '((1500)(2500)(3500))))
This suffices for the first value. There are other ways to go about it to get all the other values, as larsman pointed out.
Upvotes: 2