0):
+ operator for concatenation.Similar to strings, ranges support slice operations:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The new site is online! Please use this issue to report any problems.
x = range(1, 10, 3)
0):
e = x[1] # e == 2
+ operator for concatenation.Similar to strings, ranges support slice operations:
range(10)[1:3] # range(1, 3)
range(10)[::2] # range(0, 10, 2)
range(10)[3:0:-1] # range(3, 0, -1)