Q. Write a Program in Python, to input number is Positive or Negative 1
Ans: Input number and check it is greater than 0 means positive or less than 0 means negative.
# Input number and find it is positive or negative
n=int(input("Enter Number:" ))
if n>0:
print("Number is Positive")
else:
print("Number is Negative")