Range

Run Settings
LanguagePython
Language Version
Run Command
for i in range(5,1,-1): print(i) a=[1,2,3,4,5,6] print(a[::-1]) print(a[-5:-2:1]) print(a[:-2:1]) print(a[1::]) print(a[1::3]) print(a[-1:2:-1]) b = 1,2 ,3,4,5,6 print(b[-1:2:-1]) print(b[5:1:-1]) a = "hello world" print(a[6:2:-1])
Editor Settings
Theme
Key bindings
Full width
Lines