arr = array([1,2,3,4,5])
arr = arr + 5
print(arr)
arr1 = array([1,2,3,4,5])
arr2 = array([6,2,3,4,5])
arr3 = arr1 + arr2
print(arr3)
arr1 = array([1,2,3,4,5])
print(sin(arr1))
arr1 = array([1,2,3,4,5])
print(cos(arr1))
arr1 = array([1,2,3,4,5])
print(log(arr1))
arr1 = array([1,2,3,4,5])
print(sqrt(arr1))
arr1 = array([1,2,3,4,5])
print(sum(arr1))
arr1 = array([1,2,3,4,5])
print(min(arr1))
arr1 = array([1,2,3,4,5])
print(max(arr1))
arr1 = array([1,2,3,4,5])
arr2 = array([6,2,9,4,5])
print(concatenate([arr1,arr2]))
from array import *
arr = array('i',[])
n = int(input('Enter the len of the array :'))
for i in range(n):
x = int(input('Enter the next value :'))
arr.append(x)
print(arr)
val = int(input('Enter the value or search index :'))
k = 0 for e in arr: if e==val: print('Index :'k)
k+=1
print(arr.index(val))