Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Integer Sign Determination by Phil15
def determine_sign(num: int) -> str:
if num == 0: return 'zero'
if num > 0: return 'positive'
return 'negative'
Oct. 7, 2023