Step-by-step explanation:
def checklist(a_list, a_value):// def //used to name a function, the //arguments being passed into the //functions are a_list and a_value
if a_value in list://if statement to
//check if it's in the list or not
print("")//print statement to do
//nothing
else://else statement for if the
//a_value is in a_list
a_list.append(a_value)//this adds
//the value to the list