本函数是返回序列seq的反向訪问的迭代子。

样例:

 

#reversed()

for i in reversed([2, 3, 4, 5]):
    print(i, end = ',')

 

结果输出例如以下:

5,4,3,2,