Question: IN PYTHON 1) Write a program to locate the index location of a number within a given list. For this exercise, use a while loop

IN PYTHON
IN PYTHON 1) Write a program to locate the index location of

1) Write a program to locate the index location of a number within a given list. For this exercise, use a while loop to iterate through the given List to find the index position of a given number. For example: lst =[10,99,98,85,45,100,59,65,66,76,12,35,13,100, 80,95] What is the index location of 100 ? Result: There is a 100 at index no: 5 There is a 100 at index no: 13

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!