LIST SLICING: please help!


#1

Hello,
I need help with my code here's my it is:

Could you help me??!:confused::confused:


#2

Hello

Take out the 2nd and 3rd 'first.
Take out the 2nd and 3rd middle.
Take out the 2nd and 3rd last.

Also look at the example provided for regards to the printing.

Sometimes, you only want to access a portion of a list. [;] does that. You do not need to type what the '0' or '1' item is in the list.

Hope that helps.


#3

The correct [ : ] code - I typed [ ; ].

My apologies.


#4

Also -

You last [ : ], have a look there.

Remember we count 0, 1, 2, 3, etc. You have 6?

If possible look at link below.

Hope that helps.


#6

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