query: Prolog Program to output the last and the pre-last element of a list
positive_passages.docid: 144277
positive_passages.text: How to get the 2 last values from a list in recursion and in tail-recursion?
negative_passages.docid: 93560
negative_passages.text: Solving a logic puzzle using Prolog
negative_passages.docid: 40849
negative_passages.text: Search for a string and print everything before and after within a range
negative_passages.docid: 115113
negative_passages.text: How do I reuse the last output from the command line?
negative_passages.docid: 5763
negative_passages.text: How to preserve the order of terms in the output
negative_passages.docid: 8411
negative_passages.text: How can I format a list to print each element on a separate line in python?
negative_passages.docid: 110908
negative_passages.text: Python: Find the min, max value in a list of tuples
negative_passages.docid: 94697
negative_passages.text: Grouping the first two elements in a list of ordered triples
negative_passages.docid: 120211
negative_passages.text: finding and replacing elements in a list
negative_passages.docid: 77900
negative_passages.text: How to get the n next values of a generator in a list (python)
negative_passages.docid: 110685
negative_passages.text: How can I print a list of elements separated by commas?
negative_passages.docid: 5958
negative_passages.text: How to find the last field using 'cut'
negative_passages.docid: 24041
negative_passages.text: Finding first and last index of some value in a list in Python
negative_passages.docid: 104850
negative_passages.text: How to split a sequence into two pieces by predicate?
negative_passages.docid: 109840
negative_passages.text: Cleanest way to get last item from Python iterator
negative_passages.docid: 145120
negative_passages.text: What is the performance of the Last() extension method for List?
negative_passages.docid: 72479
negative_passages.text: How to find all occurrences of an element in a list