19.Write a Python program to check whether a number is negative, positive or zero.

Solution :- 

Static :- 

a = -70
if a>0:
print(“Positive number “)
elif a<0:
print(“Negative number “)
else:
print(“Number is Zero”)

Output :- 

Dynamic :-

a = int(input(“Enter the number :- “))
if a>0:
print(“Positive number “)
elif a<0:
print(“Negative number “)
else:
print(“Number is Zero”)

Output :-