Python program to find if the entered number is Positive or Negative or Zero

In this post, I am going to write a simple Python script to check if the entered number is a Positive number or a Negative number or Zero. This python program is helpful for students who are learning Python programming by themselves. Sometimes this kind of question asked in Interview as well.

Enough talking, let’s write the program now.

Sample output of the above program:

Output 1:

Output 2:

Output 3:

It’s very simple if the entered value is greater than zero then it is a positive number or it is a negative number. If the value is equal to 0, you know it 🙂

I hope this program is helpful to you. Thanks for visiting my blog.

Related Posts

Leave a Reply