代码示例:(标识:python_ref_reversed)
python_ref_reversed.py
alph = ["a", "b", "c", "d"]

ralph = reversed(alph)

for x in ralph:
  print(x)
运行结果: