Write a Python program to check number either positive , negative or zero


Topic: Write a Python program to check number either positive , negative or zero

Solution

num = int (input ("Enter Integer Number: "))
if num == 0:
print ("Zero Entered")
elif num > 0:
print ("Positive Number Entered")
elif num < 0:
print ("Negative Number Entered")



List all Python Programs