1.

Linear search on tuple of numbers ​

Answer»

Follow the below steps to implement LINEAR search on lists and tuples. Initialize the list or tuple and an ELEMENT. Iterate over the list or tuple and check for the element. Break the LOOP whenever you FIND the element and mark a flag. Print element not found message based on the flag.Explanation:



Discussion

No Comment Found