InterviewSolution
Saved Bookmarks
| 1. |
Write a python program to search position of numbers |
|
Answer» Answer: L=[2,58,95,999,65,32,15,1,7,45] n=int(input("ENTER the number to be searched : ")) FOUND=0. for x in L: if x==n: print("ITEM found at the Position : ",L. INDEX(n)+1) found=1. if found==0: |
|