Panhary H.

asked • 02/28/23

Exercise 6-5 Fill in the blanks in the functions below,

Using slicing. last_three is intended to get the last three elements of the list being passed in. odd_indexes is intended to get only the elements that are at odd indexes.

def last_three(data):

return data[______]

def odd_indexes(data):

return data[______]

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.