for循环递减

请问怎么实现for循环递减啊。像python一样的 for i in range(10,1,-1) 会提示错误Range should have 1 or 2 arguments, found 3

一个work around是类似:

for i in range(1, 10):
   real_index = 10 - i