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

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!