You are viewing a single comment's thread. Return to all comments →
a,b = 0,1 while b < n : a,b=b,a+b if b == n : return ("IsFibo") else: return ("IsNotFibo")
Is Fibo
You are viewing a single comment's thread. Return to all comments →