Question: python For this part of the lab, write a function to take a list of numbers and a number to check if the number is

python
 python For this part of the lab, write a function to

For this part of the lab, write a function to take a list of numbers and a number to check if the number is in the list or not. Print out the index of the element. if it exists in the list and the message The element does not exist in the list, otherwise, Part A Solve Task 2 without using the list built-in function for finding elements. Part B Solve Task 2 using the list built-in function for finding elements

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!