Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.
Given a list of at least six integers in your code (e.g. chapter IDs), print:
len).[2:5] if your list is long enough).Skills: slicing [start:end], [ :3], [-2:].
Example list: [10, 20, 30, 40, 50, 60]