#python
for i in range(10,1,-1): print(i)
其中,最后一个是步长,是-1的话,也就是实现了倒序;
![[Pasted image 20220927163700.png]]