Explore
Connect
Documentation
Snippets
Log in
Sign up
1
2
3
4
5
print(list(range(
0
,
10
,
1
)))
print(tuple(range(
0
,
10
)))
# same as tuple(range(0, 10, 1))
print(tuple(range(
10
)))
# same as tuple(range(0, 10))
print(tuple(range(
0
,
10
,
2
)))
# step size of 2
Enter to Rename, Shift+Enter to Preview
Run