Question: Write a function in_list that will take as its parameters an input list called mylist and a number. If the number is in the list
Write a function in_list that will take as its parameters an input list called mylist and a number.
If the number is in the list the function should retun true, ottherwise, it should retun false.
def in_list(mylist,number):
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
