0
1.9kviews
Write a Python program to perform Linear Search / Linear Search in Python
1 Answer
0
52views

Explanation:-

  • Create a variable n which stores the no of elements user wants to add to the list.
  • Iterate for loop n times and take the elements entered from the user and append them to a list a.
  • Initialize 2 variable flag and index to 0 where flag represents the …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.