Wie man ein Programm erstellt, das positive und negative in Python identifiziert


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")
Old-fashioned Opossum