Ask Question

In Python, arrays are usually reserved for

sorting operations.

indexing operations.

searching operations.

numerical operations.

+2
Answers (1)
  1. 16 June, 18:01
    0
    Searching Operations

    Explanation:

    Basic operations of array are

    Traverse Insertion Deletion Search Update

    Search Operation

    In this operation you can search array element based on value or its index

    from array import *

    array1 = array ('i',[10,20,30,40,50])

    print (array1. index (30))

    when we execute it it search and gives us output : 2
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “In Python, arrays are usually reserved for sorting operations. indexing operations. searching operations. numerical operations. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers