You are viewing a single comment's thread. Return to all comments →
what's the issue with this code :
def isdivi(num): if num <0 : return False if num == 0: return True return (isdivi(n-7) or isdivi(n-4)) q = int(raw_input().strip()) for a0 in xrange(q): n = long(raw_input().strip()) if (isdivi(n)): print "Yes" else : print "No"
Seems like cookies are disabled on this browser, please enable them to open this website
Lucky Numbers
You are viewing a single comment's thread. Return to all comments →
what's the issue with this code :