List slicing


In list slicing the syntax is
list_name[start(inclusive) : end(exclusive) : step_value]

But in codeacademy,it is printing even the end exclusive value.So is the defintion of slicing incorrect or is codeacademy showing incorrect output?!



Probably neither, I think your observation is wrong somehow


Yes, my observation was wrong,sorry for the trouble


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.