Answer:
The functions in Python are as follows:
#(1) Countdown program
def countdown_trigger(begin):
for i in range(begin,0,-1):
print(i)
#(2) List of 3
def make_list_of_first_three(argument_list):
print(argument_list[:3])
#(3) Second to last
def return_second_to_last_element(input_list):
print(input_list[-2])
Step-by-step explanation:
The countdown function begins here
#(1) Countdown program
This defines the function
def countdown_trigger(begin):
This iterates through the function
for i in range(begin,0,-1):
The prints the list elements
print(i)
The list of 3 function begins here
#(2) List of 3
This defines the function
def make_list_of_first_three(argument_list):
This prints the first 3 elements
print(argument_list[:3])
The second to last function begins here
#(3) Second to last
This defines the function
def return_second_to_last_element(input_list):
The prints to second to last list element
print(input_list[-2])