- 1
I used [::3] but it didnt work its correct btw
3 Antworten
0
a = [1,2,3,4,5,6]
b = a[::3]
#Out:
[1,4]
This is how it works. 3 is step.
+ 2
You must not have it correctly if it didn’t work. Please post your code or a real question if you would like help.
+ 1
Thats it thanks