in

I’m sorry…

I'm sorry... | ProgrammerHumor.io
I'm sorry...

Content

def isPositive (number) : try: if (number – 1 : return True else: return isPositive (number – 1) except: return False isPositive (30) True isPositive (0) False isPositive (-100) False isPositive (100) True