rishabhgarg25699 / Competitive-Programming

This repository contains some useful codes, techniques, algorithms and problem solutions helpful in Competitive Coding. Join with me on telegram group https://t.me/joinchat/GL4Y8RREZbz-Cp78R869CQ
63 stars 121 forks source link

checkFib.py #200

Closed aniraj1688 closed 4 years ago

aniraj1688 commented 4 years ago

112

a=int(input()) if a==0: print('Fibonacci number')

else: b=5aa+4 c=5aa-4 bb=pow(a,0.5) cc=pow(c,0.5) if ((bbbb) == b or (cccc) == c): print('Fibonacci Number') else: print('Not a fibonacci number')

rishabhgarg25699 commented 4 years ago

@aniraj1688 Wrong PR