9 lines
156 B
Python
9 lines
156 B
Python
|
#!/usr/bin/python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
print range(10)
|
||
|
print range(10)[4]
|
||
|
print range(0,10)
|
||
|
|
||
|
print range(0,10,2) # C like "for": lower,upper,rate/step
|