Question: Exercise 6 . 2 . 2 Three Slices = = = = = = = = = = = = = = = = =

Exercise 6.2.2 Three Slices
===========================
Design and implement a function called three_slices() that take a list object as its parameter and slice it into three equal parts. Your function must work correctly with the following scenario:
- An enpty list.
- A list with two elements only.
- A list with more than two elements.
- A slice cannot have more than one extra element than the other slices.
The function return the three slices.
"""
# Complete the following function.
def three_slices(my_list):
return

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!