#python 3.7.1
# creating array to store values
arr=[]
for i in range(3):
a = int(input(" "))
arr.append(a)
print(arr)
# searching number in the array
n = int(input(" "))
if n in arr:
print(" Write notification that needs to be displayed ")
else:
print("Number is not in the array ")
Comments
Leave a comment