You are viewing a single comment's thread. Return to all comments →
python3 def isFibo(n): fibo = [] a = 0 b = 1 fibo.append(a) for i in range(1, 101): fibo.append(b) c = a+b a = b b = c if n in fibo: return "IsFibo" else: return "IsNotFibo"
Seems like cookies are disabled on this browser, please enable them to open this website
Is Fibo
You are viewing a single comment's thread. Return to all comments →