The function below takes one parameter: a list (argument_list). Complete the function to create a new list containing the first three elements of the given list and return it. You can assume that the provided list always has at least three elements.
Code Screenshot
Executable Code:
#Required Function
def make_list_of_first_three(argument_list):
# Return the 3 element list
return argument_list[:3]
Sample Output :
Please comment
below if you have any queries.
Please do give a thumbs up if you liked the answer thanks
:)
Get Answers For Free
Most questions answered within 1 hours.