• + 0 comments
    def isFibo(n):
        # Write your code here
        start = 0
        last = 1
        while last <= n:
            tmp = last + start
            start = last
            last = tmp
            if last== n:
                return "IsFibo"
        return "IsNotFibo"