**Programming** Examples

# Python program that receives a Fibonacci series term and returns a number telling which term it is

`Solution`

```
fib=[]
a,b=-1,1
c=0
ind=int(input("Enter any Element : "))
while c<=ind:
c=a+b
fib.append(c)
a,b=b,c
#print(fib)
print("Element ",ind," Found at :",fib.index(ind)+1,"Position")
```

`Output`

Enter any Element : 8

Element 8 Found at : 7 Position