+ 4

How does slices works in py

Slices

26th Apr 2020, 10:10 AM
Sultan
Sultan - avatar
2 Respostas
26th Apr 2020, 10:23 AM
David Ashton
David Ashton - avatar
+ 4
Go through python course ,simple example of slice a=[1,2,3,4] print(a[1:3]) It will print 2 and 3 from list a
26th Apr 2020, 10:17 AM
Abhay
Abhay - avatar