iSharkFly
Python 逆序循环
程序语言
Python
python
honeymoose
June 6, 2024, 12:10pm
1
Python 逆序循环
range(10, 0, -1)
上面的代码将会循环输出:
[10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
1 Like
Related topics
Topic
Replies
Views
Activity
Python 如何for loop 循环
Python
python
1
215
September 19, 2023
Python 的集合数据格式
Python
0
528
June 11, 2020
Python 语言基础变量的类型转换
Python
python
0
551
March 7, 2021
Python 关键字
Python
python
0
791
March 9, 2021
Python 数据类型
Python
python
0
815
March 8, 2021