nums=(1,4,9,16,25,36,49,64,81,100)
x=49

idx=0
for el in nums:
    if(el == x):
        print("number found at idx",idx)
    idx+=1    

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: