print("Enter a number to be check whether it is positive ,negative or zero:") num=int(input()) if num==0: print("number is zero") elif num>0: print("number is positive") else: print("number is negative")
Tech Library For Developers
print("Enter a number to be check whether it is positive ,negative or zero:") num=int(input()) if num==0: print("number is zero") elif num>0: print("number is positive") else: print("number is negative")