xiaolizi007
4/25/2017 - 6:07 AM

range的用法

range #python

>>> list(range(1, 11))
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]