Python program to check a number is positive negative or zero

633
Python program to check a number is positive negative or zero
num=int(input("Please enter a number to check Positive Negative or Zero "))
if(num>0):
   print("Given number is a positive number");
elif(num<0):
   print("Given number is a negative number");
else:
   print(" Given number is zero");

   Output 1:
            Please enter a number to check Positive Negative or Zero 12
            Given number is a positive number 
   Output 2:
            Please enter a number to check Positive Negative or Zero -12
            Given number is a negative number
   Output 3:
            Please enter a number to check Positive Negative or Zero 0
            Given number is zero

इन्हें भी देखें।

Python Programs के लिये यहाँ click करें।

 

Python program to check a number is positive negative or zero Python program to check given number is positive negative or zero program to check a number is positive negative or zero in python write a program to check a number is positive negative or zero in python program to check given number is positive negative or zero in python program to check a number is positive negative or zero program to check whether a number is positive negative or zero program to check if a number is positive negative or zero in python program to check if a number is positive negative or zero