for(int i = items.Count - 1; i >= 0; i--)
{
Console.WriteLine($"Index = {i}, Item = {items[i]}");
}
for i := len(items) - 1; i >= 0; i-- {
x := items[i]
fmt.Printf("Item %d = %v \n", i, x)
}
reverse(items);
int i = items.size() - 1;
for (T x : items)
out.printf("%s %s%n", i--, x);
T x;
int i = items.size() - 1;
while (i != -1) {
x = items.get(i);
out.printf("%s %s%n", i--, x);
}
int n = items.size();
iterate(n - 1, x -> x - 1)
.limit(n)
.forEach(i -> {
out.println(i + " " + items.get(i));
});
ListIterator<X> g
= items.reversed().listIterator();
X x;
int i, n = items.size() - 1;
while (g.hasNext()) {
i = g.nextIndex();
x = g.next();
out.printf("%s %s%n", n - i, x);
}
for ($i = $#items; $i >= 0; $i--) { print "$i $items[$i]\n"; }
for(int i = items.Count - 1; i >= 0; i--) { Console.WriteLine($"Index = {i}, Item = {items[i]}"); }
var i = items.length ; for (var e in items.reversed) { i--; print("$i, $e"); }
do i=size(items),1,-1 print *,i,items(i) end do
for i := len(items) - 1; i >= 0; i-- { x := items[i] fmt.Printf("Item %d = %v \n", i, x) }
[...items].reverse().forEach((item, index) => console.log(Math.abs(index -= items.length), item));
reverse(items); int i = items.size() - 1; for (T x : items) out.printf("%s %s%n", i--, x);
for(int i = items.length-1;i>=0;i--){ System.out.println("Index:"+ i +", Value:" + items[i]); }
T x; int i = items.size() - 1; while (i != -1) { x = items.get(i); out.printf("%s %s%n", i--, x); }
int n = items.size(); iterate(n - 1, x -> x - 1) .limit(n) .forEach(i -> { out.println(i + " " + items.get(i)); });
ListIterator<X> g = items.reversed().listIterator(); X x; int i, n = items.size() - 1; while (g.hasNext()) { i = g.nextIndex(); x = g.next(); out.printf("%s %s%n", n - i, x); }
for i := items.count-1 downto 0 do writeln(i,' ',items[i]);
for i in range(len(items)-1, -1, -1): print(i, items[i])
for i, x in enumerate(reversed(items)): print(f'{i} {x}')
x = enumerate(items) print(*reversed([*x]))
items.each_with_index.reverse_each{|x, i| puts "#{i} #{x}" }
for (i, item) in items.iter().enumerate().rev() { println!("{} = {}", i, *item); }
for (i, x) in items.iter().rev().enumerate() { println!("{i} = {x}"); }
(define (reversed-inspect items) (foldl (lambda (x i) (display (format "~a ~a\n" i x)) (sub1 i)) (sub1 (length items)) (reverse items)))