Answers for "how to make a program that identifies positives and negatives in python"

1

how to make a program that identifies positives and negatives in python

number = float(input(" Please Enter any Numeric Value : "))

if(number > 0):
    print("{0} is a Positive Number".format(number))
elif(number < 0):
    print("{0} is a Negative Number".format(number))
else:
    print("You have entered Zero")
Posted by: Guest on June-15-2020

Code answers related to "how to make a program that identifies positives and negatives in python"

Python Answers by Framework

Browse Popular Code Answers by Language