Home › Forums › Puzzles › [Lists] Object # Last-1
how do I get object #last-1 from a list?
you can first find out how many objects your list contains using the length puzzle.
Then you need to calculate a correct index. The last element will have index length-1. So the last-1 will have index length-2.
Finally you can get the object from the list by its index (that is, length-2).
3D Verger, the CEO LinkedIn | FB | Twitter | VK | 新浪微博
Test your math: 2 − 1 =
Log in / Register