def algop(num):
try:
if num == 0:
return "The number is neither positive nor negative"
except:
sally = num + 1
if num - sally == -1:
return int(num), str("is positive")
else:
return int(num), str("Is negative")
print(algop(10))
The answer I get is "none". How can I get this to work?