nums=(1,4,9,49,64,81,100,36) x=36 i=0 while i < len(nums): if(nums[i] ==x): print("Found at idx",i) else: print("finding") i+=1
To embed this program on your website, copy the following code and paste it into your website's HTML: