You are viewing a single comment's thread. Return to all comments →
Perfect Squares have odd number of factors.
def is_smart_number(num): val = int(math.sqrt(num)) if num == val*val: return True return False
Seems like cookies are disabled on this browser, please enable them to open this website
Smart Number
You are viewing a single comment's thread. Return to all comments →
Perfect Squares have odd number of factors.